Re: pgsql: Add pg_depend.refobjversion.

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Thomas Munro <tmunro(at)postgresql(dot)org>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add pg_depend.refobjversion.
Date: 2020-11-05 06:15:10
Message-ID: e0a047ec-4dfc-7c7b-546d-127ef49fbc36@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

This commit assigns OIDs from the reserved range:

+DECLARE_TOAST(pg_depend, 8888, 8889);

Do you want to try the renumber_oids.pl script to fix this?

On 2020-11-02 13:27, Thomas Munro wrote:
> Add pg_depend.refobjversion.
>
> Provide a place for the version of referenced database objects to be
> recorded. A follow-up commit will use this to record dependencies on
> collation versions for indexes, but similar ideas for other kinds of
> objects have also been mooted.
>
> Author: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
> Reviewed-by: Julien Rouhaud <rjuju123(at)gmail(dot)com>
> Reviewed-by: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
> Discussion: https://postgr.es/m/CAEepm%3D0uEQCpfq_%2BLYFBdArCe4Ot98t1aR4eYiYTe%3DyavQygiQ%40mail.gmail.com
>
> Branch
> ------
> master
>
> Details
> -------
> https://git.postgresql.org/pg/commitdiff/cd6f479e79f3a33ef7a919c6b6c0c498c790f154
>
> Modified Files
> --------------
> doc/src/sgml/catalogs.sgml | 11 +++++++++++
> src/backend/catalog/dependency.c | 14 ++++++++++----
> src/backend/catalog/pg_depend.c | 14 ++++++++++----
> src/include/catalog/catversion.h | 2 +-
> src/include/catalog/dependency.h | 1 +
> src/include/catalog/pg_depend.h | 4 ++++
> src/include/catalog/toasting.h | 1 +
> src/test/regress/expected/misc_sanity.out | 4 ++--
> 8 files changed, 40 insertions(+), 11 deletions(-)
>

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2020-11-05 14:32:14 Re: pgsql: Get rid of the dedicated latch for signaling the startup process
Previous Message Peter Geoghegan 2020-11-05 02:43:30 pgsql: Fix nbtree cleanup-only VACUUM stats inaccuracies.