postgresql/src/include
Peter Eisentraut c314c147c0 Prepare to support non-tables in publications
This by itself doesn't change any functionality but prepares the way
for having relations other than base tables in publications.

Make arrangements for COPY handling the initial table sync.  For
non-tables we have to use COPY (SELECT ...) instead of directly
copying from the table, but then we have to take care to omit
generated columns from the column list.

Also, remove a hardcoded reference to relkind = 'r' and rely on the
publisher to send only what it can actually publish, which will be
correct even in future cross-version scenarios.

Reviewed-by: Amit Langote <amitlangote09@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CA+HiwqH=Y85vRK3mOdjEkqFK+E=ST=eQiHdpj43L=_eJMOOznQ@mail.gmail.com
2020-03-19 08:25:07 +01:00
..
access Remove stray parenthesis in nbtree.h. 2020-03-10 18:03:56 -07:00
bootstrap Update copyrights for 2020 2020-01-01 12:21:45 -05:00
catalog Implement type regcollation 2020-03-18 21:21:00 +01:00
commands Introduce a maintenance_io_concurrency setting. 2020-03-16 17:14:26 +13:00
common Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
datatype Update copyrights for 2020 2020-01-01 12:21:45 -05:00
executor Disk-based Hash Aggregation. 2020-03-18 15:42:02 -07:00
fe_utils Reduce size of backend scanner's tables. 2020-01-13 15:04:31 -05:00
foreign Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jit jit: Reference expression step functions via llvmjit_types. 2020-02-06 22:29:14 -08:00
lib Skip memcpy(x, x) in qunique(). 2020-01-04 11:31:42 -08:00
libpq Allow building without default socket directory 2020-01-31 16:28:43 +01:00
mb Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
nodes Disk-based Hash Aggregation. 2020-03-18 15:42:02 -07:00
optimizer Disk-based Hash Aggregation. 2020-03-18 15:42:02 -07:00
parser Refactor our checks for valid function and aggregate signatures. 2020-03-17 19:36:41 -04:00
partitioning Update copyrights for 2020 2020-01-01 12:21:45 -05:00
port Assume that we have utime() and <utime.h>. 2020-02-21 14:30:47 -05:00
portability Update copyrights for 2020 2020-01-01 12:21:45 -05:00
postmaster Remove am_syslogger global variable 2020-03-13 14:01:15 +01:00
regex Assume that we have <wchar.h>. 2020-02-21 14:30:47 -05:00
replication Prepare to support non-tables in publications 2020-03-19 08:25:07 +01:00
rewrite Update copyrights for 2020 2020-01-01 12:21:45 -05:00
snowball Update copyrights for 2020 2020-01-01 12:21:45 -05:00
statistics Use multi-variate MCV lists to estimate ScalarArrayOpExpr 2020-03-14 16:13:00 +01:00
storage Assert that we don't acquire a heavyweight lock on another object after 2020-03-18 07:20:17 +05:30
tcop Update comment 2020-03-16 18:40:26 -03:00
tsearch Assume that we have <wchar.h>. 2020-02-21 14:30:47 -05:00
utils Enable BEFORE row-level triggers for partitioned tables 2020-03-18 18:58:05 -03:00
.gitignore Refactor dlopen() support 2018-09-06 11:33:04 +02:00
c.h Refactor compile-time assertion checks in c.h 2020-03-13 15:04:11 +09:00
fmgr.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
funcapi.h Avoid holding a directory FD open across assorted SRF calls. 2020-03-16 21:05:52 -04:00
getaddrinfo.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
getopt_long.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Get rid of jsonpath_gram.h and jsonpath_scanner.h 2019-03-20 11:13:34 +03:00
miscadmin.h Unify several ways to tracking backend type 2020-03-13 14:01:10 +01:00
pg_config.h.in Remove win32ver.rc from version_stamp.pl 2020-03-10 11:21:41 +01:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Remove HAVE_WORKING_LINK 2020-03-11 11:23:04 +01:00
pg_getopt.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_trace.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pgstat.h Rename the recovery-related wait events. 2020-03-19 15:32:55 +09:00
pgtar.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pgtime.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
port.h Move pg_upgrade's Windows link() implementation to AC_REPLACE_FUNCS 2020-03-04 08:22:54 +01:00
postgres.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
postgres_ext.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
postgres_fe.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
rusagestub.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
windowapi.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00