-
- Downloads
Add INSERT/UPDATE/DELETE RETURNING, with basic docs and regression tests.
plpgsql support to come later. Along the way, convert execMain's SELECT INTO support into a DestReceiver, in order to eliminate some ugly special cases. Jonah Harris and Tom Lane
Showing
- doc/src/sgml/ref/delete.sgml 51 additions, 5 deletionsdoc/src/sgml/ref/delete.sgml
- doc/src/sgml/ref/insert.sgml 59 additions, 6 deletionsdoc/src/sgml/ref/insert.sgml
- doc/src/sgml/ref/update.sgml 54 additions, 3 deletionsdoc/src/sgml/ref/update.sgml
- src/backend/access/common/printtup.c 4 additions, 4 deletionssrc/backend/access/common/printtup.c
- src/backend/commands/prepare.c 8 additions, 1 deletionsrc/backend/commands/prepare.c
- src/backend/executor/execMain.c 455 additions, 200 deletionssrc/backend/executor/execMain.c
- src/backend/executor/spi.c 4 additions, 5 deletionssrc/backend/executor/spi.c
- src/backend/nodes/copyfuncs.c 7 additions, 2 deletionssrc/backend/nodes/copyfuncs.c
- src/backend/nodes/equalfuncs.c 7 additions, 2 deletionssrc/backend/nodes/equalfuncs.c
- src/backend/nodes/outfuncs.c 3 additions, 1 deletionsrc/backend/nodes/outfuncs.c
- src/backend/nodes/readfuncs.c 3 additions, 1 deletionsrc/backend/nodes/readfuncs.c
- src/backend/optimizer/plan/planagg.c 2 additions, 1 deletionsrc/backend/optimizer/plan/planagg.c
- src/backend/optimizer/plan/planner.c 34 additions, 5 deletionssrc/backend/optimizer/plan/planner.c
- src/backend/optimizer/plan/setrefs.c 102 additions, 35 deletionssrc/backend/optimizer/plan/setrefs.c
- src/backend/optimizer/prep/prepjointree.c 5 additions, 1 deletionsrc/backend/optimizer/prep/prepjointree.c
- src/backend/optimizer/prep/preptlist.c 38 additions, 1 deletionsrc/backend/optimizer/prep/preptlist.c
- src/backend/optimizer/util/clauses.c 4 additions, 1 deletionsrc/backend/optimizer/util/clauses.c
- src/backend/parser/analyze.c 82 additions, 7 deletionssrc/backend/parser/analyze.c
- src/backend/parser/gram.y 15 additions, 5 deletionssrc/backend/parser/gram.y
- src/backend/parser/keywords.c 2 additions, 1 deletionsrc/backend/parser/keywords.c
Loading
Please register or sign in to comment