Re: Get the sequence name corresponding to a GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY column

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Get the sequence name corresponding to a GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY column
Дата
Msg-id 10d743ad-2216-df5b-a966-38f154a6f53a@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Get the sequence name corresponding to a GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY column  (Sebastien Flaesch <sebastien.flaesch@4js.com>)
Ответы Re: Get the sequence name corresponding to a GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY column  (Sebastien Flaesch <sebastien.flaesch@4js.com>)
Список pgsql-general
On 07.02.23 11:43, Sebastien Flaesch wrote:
> select '"'||ns.nspname||'"."'||p.relname||'"' tabname, c.attname colname

Just a side note: You might find the quote_ident() function useful.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Switching identity column to serial
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: Sequence vs UUID