Re: automatically assigning catalog toast oids - Mailing list pgsql-hackers

From Tom Lane
Subject Re: automatically assigning catalog toast oids
Date
Msg-id 18075.1544380583@sss.pgh.pa.us
Whole thread Raw
In response to automatically assigning catalog toast oids  (John Naylor <jcnaylor@gmail.com>)
Responses Re: automatically assigning catalog toast oids
List pgsql-hackers
John Naylor <jcnaylor@gmail.com> writes:
> Commit 96cdeae07 added toast tables to most catalogs. One disadvantage
> is that the toast declarations require hard-coded oids, even though
> only shared catalogs actually need stable oids. Now that we can assign
> oids on the fly, it makes sense to do so for toast tables as well, as
> in the attached.

I'm a bit dubious that this is a good idea.  It's handy, at least for
forensic situations, that the system catalogs have stable OIDs.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Collatability of type "name"
Next
From: Stephen Frost
Date:
Subject: Re: pg_partition_tree crashes for a non-defined relation