-
- Downloads
Allow an optional alias for the target table to be specified for UPDATE
and DELETE. If specified, the alias must be used instead of the full table name. Also, the alias currently cannot be used in the SET clause of UPDATE. Patch from Atsushi Ogawa, various editorialization by Neil Conway. Along the way, make the rowtypes regression test pass if add_missing_from is enabled, and add a new (skeletal) regression test for DELETE.
Showing
- doc/src/sgml/ref/delete.sgml 15 additions, 2 deletionsdoc/src/sgml/ref/delete.sgml
- doc/src/sgml/ref/update.sgml 18 additions, 2 deletionsdoc/src/sgml/ref/update.sgml
- doc/src/sgml/regress.sgml 2 additions, 2 deletionsdoc/src/sgml/regress.sgml
- src/backend/parser/gram.y 19 additions, 3 deletionssrc/backend/parser/gram.y
- src/backend/parser/parse_clause.c 2 additions, 2 deletionssrc/backend/parser/parse_clause.c
- src/test/regress/expected/delete.out 27 additions, 0 deletionssrc/test/regress/expected/delete.out
- src/test/regress/expected/rowtypes.out 3 additions, 0 deletionssrc/test/regress/expected/rowtypes.out
- src/test/regress/expected/update.out 25 additions, 0 deletionssrc/test/regress/expected/update.out
- src/test/regress/parallel_schedule 1 addition, 1 deletionsrc/test/regress/parallel_schedule
- src/test/regress/serial_schedule 2 additions, 1 deletionsrc/test/regress/serial_schedule
- src/test/regress/sql/delete.sql 22 additions, 0 deletionssrc/test/regress/sql/delete.sql
- src/test/regress/sql/rowtypes.sql 3 additions, 0 deletionssrc/test/regress/sql/rowtypes.sql
- src/test/regress/sql/update.sql 16 additions, 0 deletionssrc/test/regress/sql/update.sql
Loading
Please register or sign in to comment