postgresql/src/bin/psql
Peter Eisentraut 039eb6e92f Logical replication support for TRUNCATE
Update the built-in logical replication system to make use of the
previously added logical decoding for TRUNCATE support.  Add the
required truncate callback to pgoutput and a new logical replication
protocol message.

Publications get a new attribute to determine whether to replicate
truncate actions.  When updating a publication via pg_dump from an older
version, this is not set, thus preserving the previous behavior.

Author: Simon Riggs <simon@2ndquadrant.com>
Author: Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Author: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Reviewed-by: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-04-07 11:34:11 -04:00
..
po Translation updates 2017-08-07 13:55:34 -04:00
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
Makefile Prevent accidental linking of system-supplied copies of libpq.so etc. 2018-04-03 16:26:05 -04:00
command.c Avoid misleading psql password prompt when username is multiply specified. 2018-01-29 12:57:09 -05:00
command.h Add \if support to pgbench 2018-03-22 17:42:03 +03:00
common.c Rename TransactionChain functions 2018-03-16 13:18:06 -04:00
common.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
copy.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
copy.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
create_help.pl Update copyright for 2018 2018-01-02 23:30:12 -05:00
crosstabview.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
crosstabview.h Fix a boatload of typos in C comments. 2018-04-01 15:01:28 -04:00
describe.c Logical replication support for TRUNCATE 2018-04-07 11:34:11 -04:00
describe.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
help.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
help.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
input.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
input.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
large_obj.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
large_obj.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
mainloop.c psql: give ^D hint for \q in place where \q is ignored 2018-02-12 01:27:06 -05:00
mainloop.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
nls.mk Translation updates 2017-08-07 13:55:34 -04:00
prompt.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
prompt.h Add \if support to pgbench 2018-03-22 17:42:03 +03:00
psqlrc.sample Improve FILES section of psql reference page. 2014-01-14 19:27:57 -05:00
psqlscanslash.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
psqlscanslash.l Add \if support to pgbench 2018-03-22 17:42:03 +03:00
settings.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
startup.c Avoid misleading psql password prompt when username is multiply specified. 2018-01-29 12:57:09 -05:00
stringutils.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
stringutils.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
tab-complete.c Tab completion for MERGE 2018-04-03 12:18:25 +01:00
tab-complete.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
variables.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
variables.h Update copyright for 2018 2018-01-02 23:30:12 -05:00