Skip to content

Commit 4b5216d

Browse files
committed
Refactor to non-breaking pre-RETURNING changes
1 parent c8318ee commit 4b5216d

15 files changed

Lines changed: 1193 additions & 4943 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Features
3535
### Common features
3636
- Transactions
3737
- Support `INSERT`/`UPDATE`/`DELETE` (both Direct modification and Foreign modification), see [access control](#connection-to-sqlite-database-file-and-access-control) about conditions of succesfully data modification.
38-
- Support `RETURNING` for `INSERT`/`UPDATE`/`DELETE`.
3938
- Support `TRUNCATE` by deparsing into `DELETE` statement without `WHERE` clause.
4039
- Allow control over whether foreign servers keep connections open after transaction completion. This is controlled by `keep_connections` and defaults to on.
4140
- Support list cached connections to foreign servers by using function `sqlite_fdw_get_connections()`
@@ -62,7 +61,6 @@ Features
6261

6362
### Pushing down
6463
- `WHERE` clauses are pushdowned
65-
- `RETURNING` clauses are pushdowned
6664
- Some aggregate functions are pushdowned
6765
- `ORDER BY` is pushdowned
6866
- Joins (left/right/inner/cross/semi) are pushdowned

deparse.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2127,7 +2127,8 @@ sqlite_deparseInsertSql(StringInfo buf, PlannerInfo *root,
21272127
else
21282128
appendStringInfoString(buf, " DEFAULT VALUES");
21292129

2130-
/* postgres_fdw if (doNothing)
2130+
/*
2131+
* postgres_fdw if (doNothing)
21312132
* see INSERT OR IGNORE at begin
21322133
*/
21332134

0 commit comments

Comments
 (0)