pgsql: Improve commentary about hack in is_publishable_class(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Improve commentary about hack in is_publishable_class().
Date
Msg-id E1hQIPj-0007LA-K4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve commentary about hack in is_publishable_class().

The FirstNormalObjectId test here is a kluge that needs to go away,
but the only substitute we can think of is to add a column to pg_class,
which will take more work than can be handled right now.  Add some
commentary in the meanwhile.

Discussion: https://postgr.es/m/15150.1557257111@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e34ee993fbc38c8538f9342c5961e5f61fd45180

Modified Files
--------------
src/backend/catalog/pg_publication.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Don't leave behind junk nbtree pages during split.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Doc: Refer to line pointers as item identifiers.