Re: Identity columns should own only one sequence

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Identity columns should own only one sequence
Date: 2019-07-22 10:17:32
Message-ID: 54adc775-06ac-fc90-d985-6bee50347942@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-05-08 16:49, Laurenz Albe wrote:
> I believe we should have both:
>
> - Identity columns should only use sequences with an INTERNAL dependency,
> as in Peter's patch.

I have committed this.

> - When a column default is dropped, remove all dependencies between the
> column and sequences.

There is no proposed patch for this, AFAICT.

So I have closed this commit fest item for now.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2019-07-22 10:21:00 Re: POC: Cleaning up orphaned files using undo logs
Previous Message Kyotaro Horiguchi 2019-07-22 10:08:50 Re: [Patch] PQconnectPoll() is blocked if target_session_attrs is read-write