postgresql/src/backend/commands
Amit Kapila 354a1f8d22 Invalidate relcache when changing REPLICA IDENTITY index.
When changing REPLICA IDENTITY INDEX to another one, the target table's
relcache was not being invalidated. This leads to skipping update/delete
operations during apply on the subscriber side as the columns required to
search corresponding rows won't get logged.

Author: Tang Haiying, Hou Zhijie
Reviewed-by: Euler Taveira, Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/OS0PR01MB61133CA11630DAE45BC6AD95FB939@OS0PR01MB6113.jpnprd01.prod.outlook.com
2021-11-16 08:10:13 +05:30
..
Makefile Split copy.c into four files. 2020-11-23 10:50:50 +02:00
aggregatecmds.c SQL-standard function body 2021-04-07 21:47:55 +02:00
alter.c Allow publishing the tables of schema. 2021-10-27 07:44:52 +05:30
amcmds.c Consistently use "superuser" instead of "super user" 2021-09-08 17:02:18 +02:00
analyze.c Block ALTER INDEX/TABLE index_name ALTER COLUMN colname SET (options) 2021-10-19 11:03:52 +09:00
async.c Send NOTIFY signals during CommitTransaction. 2021-09-14 17:18:25 -04:00
cluster.c Fix toast rewrites in logical decoding. 2021-08-25 09:53:07 +05:30
collationcmds.c Improve log messages from pg_import_system_collations(). 2021-09-14 18:55:15 -04:00
comment.c Remove useless casts 2021-09-09 08:36:52 +02:00
constraint.c Pass down "logically unchanged index" hint. 2021-01-13 08:11:00 -08:00
conversioncmds.c Add 'noError' argument to encoding conversion functions. 2021-04-01 11:45:22 +03:00
copy.c Remove Value node struct 2021-09-09 08:36:53 +02:00
copyfrom.c Fix typos in comments 2021-10-27 22:38:38 +02:00
copyfromparse.c Fix duplicate words in comments 2021-10-04 15:12:57 +02:00
copyto.c Centralize the logic for protective copying of utility statements. 2021-06-18 11:22:58 -04:00
createas.c Centralize the logic for protective copying of utility statements. 2021-06-18 11:22:58 -04:00
dbcommands.c Improve reporting of "conflicting or redundant options" errors. 2021-07-15 08:49:45 +01:00
define.c Remove Value node struct 2021-09-09 08:36:53 +02:00
discard.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
dropcmds.c Remove useless casts 2021-09-09 08:36:52 +02:00
event_trigger.c Allow publishing the tables of schema. 2021-10-27 07:44:52 +05:30
explain.c Use ExplainPropertyInteger for queryid in EXPLAIN 2021-08-09 15:47:23 +12:00
extension.c Improve reporting of "conflicting or redundant options" errors. 2021-07-15 08:49:45 +01:00
foreigncmds.c Consistently use "superuser" instead of "super user" 2021-09-08 17:02:18 +02:00
functioncmds.c Fix misevaluation of STABLE parameters in CALL within plpgsql. 2021-09-21 19:06:53 -04:00
indexcmds.c Improve error messages about mismatching relkind 2021-07-08 09:44:51 +02:00
lockcmds.c Improve error messages about mismatching relkind 2021-07-08 09:44:51 +02:00
matview.c Error out if SKIP LOCKED and WITH TIES are both specified 2021-10-01 18:29:18 -03:00
opclasscmds.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
operatorcmds.c Prevent ALTER TYPE/DOMAIN/OPERATOR from changing extension membership. 2021-08-17 14:29:22 -04:00
policy.c Remove unnecessary failure cases in RemoveRoleFromObjectPolicy(). 2021-06-25 13:59:38 -04:00
portalcmds.c Fix some anomalies with NO SCROLL cursors. 2021-09-10 13:18:32 -04:00
prepare.c Centralize the logic for protective copying of utility statements. 2021-06-18 11:22:58 -04:00
proclang.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
publicationcmds.c Rename some enums to use TABLE instead of REL. 2021-11-09 08:39:33 +05:30
schemacmds.c Centralize the logic for protective copying of utility statements. 2021-06-18 11:22:58 -04:00
seclabel.c Allow publishing the tables of schema. 2021-10-27 07:44:52 +05:30
sequence.c Improve reporting of "conflicting or redundant options" errors. 2021-07-15 08:49:45 +01:00
statscmds.c Clarify use of "statistics objects" in the code 2021-09-29 15:29:38 +09:00
subscriptioncmds.c Fix Alter Subscription's Add/Drop Publication behavior. 2021-08-24 08:25:21 +05:30
tablecmds.c Invalidate relcache when changing REPLICA IDENTITY index. 2021-11-16 08:10:13 +05:30
tablespace.c Consistently use "superuser" instead of "super user" 2021-09-08 17:02:18 +02:00
trigger.c Remove newly added useless assertion check 2021-07-26 12:56:33 -04:00
tsearchcmds.c Remove Value node struct 2021-09-09 08:36:53 +02:00
typecmds.c Fix use-after-free with multirange types in CREATE TYPE 2021-10-13 16:38:07 +09:00
user.c Improve reporting of "conflicting or redundant options" errors. 2021-07-15 08:49:45 +01:00
vacuum.c Support disabling index bypassing by VACUUM. 2021-06-18 20:04:07 -07:00
variable.c Fix some inappropriately-disallowed uses of ALTER ROLE/DATABASE SET. 2021-04-13 15:10:18 -04:00
view.c Centralize the logic for protective copying of utility statements. 2021-06-18 11:22:58 -04:00