postgresql/src/bin/psql
Dean Rasheed 0294df2f1f Add support for MERGE ... WHEN NOT MATCHED BY SOURCE.
This allows MERGE commands to include WHEN NOT MATCHED BY SOURCE
actions, which operate on rows that exist in the target relation, but
not in the data source. These actions can execute UPDATE, DELETE, or
DO NOTHING sub-commands.

This is in contrast to already-supported WHEN NOT MATCHED actions,
which operate on rows that exist in the data source, but not in the
target relation. To make this distinction clearer, such actions may
now be written as WHEN NOT MATCHED BY TARGET.

Writing WHEN NOT MATCHED without specifying BY SOURCE or BY TARGET is
equivalent to writing WHEN NOT MATCHED BY TARGET.

Dean Rasheed, reviewed by Alvaro Herrera, Ted Yu and Vik Fearing.

Discussion: https://postgr.es/m/CAEZATCWqnKGc57Y_JanUBHQXNKcXd7r=0R4NEZUVwP+syRkWbA@mail.gmail.com
2024-03-30 10:00:26 +00:00
..
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
t psql: fix variable existence tab completion 2024-03-16 23:49:10 +02:00
.gitignore Add basic TAP tests for psql's tab-completion logic. 2020-01-02 15:02:21 -05:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
command.c Improve WIN32 waiting logic in psql's \watch command. 2024-03-08 12:07:35 -05:00
command.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
common.c Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
common.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
copy.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
copy.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
create_help.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
crosstabview.c Use new overflow-safe integer comparison functions. 2024-02-16 14:05:36 -06:00
crosstabview.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
describe.c Make stxstattarget nullable 2024-03-17 12:26:26 +01:00
describe.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
help.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
help.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
input.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
input.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
large_obj.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
large_obj.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
mainloop.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
mainloop.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk Rename port/thread.c to port/user.c. 2023-07-09 18:17:09 +12:00
prompt.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
prompt.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
psqlrc.sample Improve FILES section of psql reference page. 2014-01-14 19:27:57 -05:00
psqlscanslash.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
psqlscanslash.l Allow noise semicolons ending psql \sf, \ef, \sv, \ev commands. 2024-01-10 14:20:09 -05:00
settings.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
startup.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
stringutils.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
stringutils.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
tab-complete.c Add support for MERGE ... WHEN NOT MATCHED BY SOURCE. 2024-03-30 10:00:26 +00:00
tab-complete.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
variables.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
variables.h Update copyright for 2024 2024-01-03 20:49:05 -05:00