pg_class.relpartbound definition overly brittle

From: Mark Dilger <hornschnorter(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_class.relpartbound definition overly brittle
Date: 2017-05-31 19:40:22
Message-ID: 6569BBA1-0A2C-4F79-AEF9-118D766630AC@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

recent changes have introduced the :location field to the partboundspec
in pg_catalog.pg_class. This means that if two identical tables with
identical partitioning scheme are created, but one is done before a change
to gram.y, and the other after a change to gram.y, the relpartbound fields
for those two tables could show up as different.

Can we perhaps remove the :location field here? If not, could somebody
please defend why this belongs in the catalog entries for the table? Sorry
if I am missing something obvious...

Thanks,

Mark Dilger

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-05-31 19:50:39 Re: pg_class.relpartbound definition overly brittle
Previous Message Michael Paquier 2017-05-31 19:30:56 Re: BUG #14680: startup process on standby encounter a deadlock of TwoPhaseStateLock when redo 2PC xlog