pgsql: Improve commentary about hack in is_publishable_class().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve commentary about hack in is_publishable_class().
Date: 2019-05-13 21:23:15
Message-ID: E1hQIPj-0007LA-K4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2019-05-13 22:39:26 pgsql: Doc: Refer to line pointers as item identifiers.
Previous Message Peter Geoghegan 2019-05-13 17:28:41 pgsql: Don't leave behind junk nbtree pages during split.