postgresql/src/include
Peter Eisentraut 325f2ec555 Handle heap rewrites even better in logical decoding
Logical decoding should not publish anything about tables created as
part of a heap rewrite during DDL.  Those tables don't exist externally,
so consumers of logical decoding cannot do anything sensible with that
information.  In ab28feae2b, we worked
around this for built-in logical replication, but that was hack.

This is a more proper fix: We mark such transient heaps using the new
field pg_class.relwrite, linking to the original relation OID.  By
default, we ignore them in logical decoding before they get to the
output plugin.  Optionally, a plugin can register their interest in
getting such changes, if they handle DDL specially, in which case the
new field will help them get information about the actual table.

Reviewed-by: Craig Ringer <craig@2ndquadrant.com>
2018-03-21 09:15:04 -04:00
..
access Prevent query-lifespan memory leakage of SP-GiST traversal values. 2018-03-19 23:59:30 -04:00
bootstrap
catalog Handle heap rewrites even better in logical decoding 2018-03-21 09:15:04 -04:00
commands Add 'unit' parameter to ExplainProperty{Integer,Float}. 2018-03-16 23:16:04 -07:00
common restrict -> pg_restrict 2018-03-15 10:02:59 -03:00
datatype
executor Handle EEOP_FUNCEXPR_[STRICT_]FUSAGE out of line. 2018-03-20 17:32:21 -07:00
fe_utils Empty search_path in Autovacuum and non-psql/pgbench clients. 2018-02-26 07:39:44 -08:00
foreign
lib Minor clean-up in dshash.{c,h}. 2018-03-01 16:25:46 -08:00
libpq Add ssl_passphrase_command setting 2018-03-17 08:28:51 -04:00
mb
nodes Remove unnecessary members from ModifyTableState and ExecInsert 2018-03-19 18:09:43 -03:00
optimizer Don't pass the grouping target around unnecessarily. 2018-03-20 11:37:43 -04:00
parser Allow UNIQUE indexes on partitioned tables 2018-02-19 17:40:00 -03:00
port
portability
postmaster Fix more format truncation issues 2018-03-15 11:41:42 -04:00
regex
replication Handle heap rewrites even better in logical decoding 2018-03-21 09:15:04 -04:00
rewrite
snowball
statistics
storage Fix crash when canceling parallel query 2018-02-16 16:21:24 -05:00
tcop Replace GrantObjectType with ObjectType 2018-01-19 14:01:14 -05:00
tsearch
utils Fix some corner-case issues in REFRESH MATERIALIZED VIEW CONCURRENTLY. 2018-03-19 18:50:05 -04:00
.gitignore
c.h Fix StaticAssertExpr() under C++ 2018-02-18 22:28:11 -05:00
fmgr.h Remove prototype for fmgr() function, which no longer exists. 2018-02-07 08:42:36 -05:00
funcapi.h Support INOUT arguments in procedures 2018-03-14 12:07:28 -04:00
getaddrinfo.h
getopt_long.h
Makefile
miscadmin.h Mark assorted GUC variables as PGDLLIMPORT. 2018-02-09 15:54:45 -05:00
pg_config_ext.h.in
pg_config_ext.h.win32
pg_config_manual.h
pg_config.h.in Add configure tests for stdbool.h and sizeof bool 2018-03-21 07:45:15 -04:00
pg_config.h.win32 Add configure infrastructure (--with-llvm) to enable LLVM support. 2018-03-20 17:26:25 -07:00
pg_getopt.h
pg_trace.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgstat.h
pgtar.h
pgtime.h
port.h
postgres_ext.h
postgres_fe.h
postgres.h Move the extern declaration for ExceptionalCondition into c.h. 2018-02-14 19:43:33 -05:00
rusagestub.h
windowapi.h