Re: pg_sequence catalog - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_sequence catalog
Date
Msg-id 23d9232e-40be-1b99-809c-9caa4512d12b@2ndquadrant.com
Whole thread Raw
In response to Re: pg_sequence catalog  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: pg_sequence catalog  (Andreas Karlsson <andreas@proxel.se>)
List pgsql-hackers
On 9/10/16 7:17 AM, Peter Eisentraut wrote:
> Let's start with that.  Here is a patch that adds a pg_sequences view in
> the style of pg_tables, pg_indexes, etc.  This seems useful independent
> of anything else, but would give us more freedom to change things around
> behind the scenes.

I have registered the pg_sequences view patch separately in the upcoming
commit fest: https://commitfest.postgresql.org/11/865/ (The posted patch
still applies, so no new patch.)

Attached is an updated patch for the pg_sequence catalog.  I haven't
received an actual technical review in the last CF, so I'll move it
forward.  However, if the pg_sequences view is accepted, the catalog
patch will of course need an update.  So if someone is looking here with
limited time, review the view patch first.

As before, this patch requires the "sequences and pg_upgrade" patch in
order for pg_upgrade to work.

I think together these three changes will make sequence metadata
inspection and modification easier and more robust and will facilitate
future changes in this area.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)
Next
From: amul sul
Date:
Subject: Re: Query regarding selectDumpableExtension()