Re: Identity columns should own only one sequence

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Identity columns should own only one sequence
Дата
Msg-id fade6420b196fb47308da2e436050ad3e84719f4.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Identity columns should own only one sequence  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-hackers
On Sun, 2019-04-14 at 20:15 +0200, I wrote:
> I wrote:
> > Identity columns don't work if they own more than one sequence.
> 
> Alternatively, maybe getOwnedSequence should only consider sequences
> with an "internal" dependency on the column.  That would avoid the problem
> without forbidding anything, since normal OWNED BY dependencies are "auto".
> 
> What do you think?

Here is a patch that illustrates the second approach.

I'll add this thread to the next commitfest.

Yours,
Laurenz Albe


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Antonin Houska
Дата:
Сообщение: Re: "WIP: Data at rest encryption" patch and, PostgreSQL 11-beta3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Help to review the with X cursor option.