pgsql: Handle no replica identity index case in RelationGetIdentityKeyB

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Handle no replica identity index case in RelationGetIdentityKeyB
Date: 2021-06-19 06:10:38
Message-ID: E1luUBi-00087U-DE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Handle no replica identity index case in RelationGetIdentityKeyBitmap.

Commit e7eea52b2d has introduced a new function
RelationGetIdentityKeyBitmap which omits to handle the case where there is
no replica identity index on a relation.

Author: Mark Dilger
Reviewed-by: Takamichi Osumi, Amit Kapila
Discussion: https://www.postgresql.org/message-id/4C99A862-69C8-431F-960A-81B1151F1B89@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2731ce1bd550d08f3fdd7bcb1497af4b95170976

Modified Files
--------------
src/backend/utils/cache/relcache.c | 12 +++++++++++-
src/test/subscription/t/001_rep_changes.pl | 17 +++++++++++++++--
2 files changed, 26 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-06-19 15:44:50 pgsql: Provide feature-test macros for libpq features added in v14.
Previous Message Peter Geoghegan 2021-06-19 03:04:25 pgsql: Support disabling index bypassing by VACUUM.