Re: Add primary keys to system catalogs - Mailing list pgsql-hackers

From Joel Jacobson
Subject Re: Add primary keys to system catalogs
Date
Msg-id 778cf9a3-f366-4bba-a6e6-ad1e1c580a92@www.fastmail.com
Whole thread Raw
In response to Re: Add primary keys to system catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Jan 18, 2021, at 19:33, Tom Lane wrote:
> On second thought, a catalog is overkill; it'd only be useful if the data
> could change after initdb, which this data surely cannot.  The right way
> to expose such info to SQL is with a set-returning function reading a
> constant table in the C code, a la pg_get_keywords().  That way takes a
> whole lot less infrastructure and is just as useful to SQL code.

+1

pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: truncating timestamps on arbitrary intervals
Next
From: Tom Lane
Date:
Subject: Re: Narrow the scope of the variable outputstr in logicalrep_write_tuple