Re: CREATE TABLE LIKE and SERIAL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE TABLE LIKE and SERIAL
Дата
Msg-id 24932.1256942925@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CREATE TABLE LIKE and SERIAL  (Thom Brown <thombrown@gmail.com>)
Список pgsql-general
Thom Brown <thombrown@gmail.com> writes:
> How is pgAdmin determining the serial type in this case?

Most likely it's looking for the pg_depend entry that shows the sequence
as being "owned by" the column.  However, that's an oversimplification
of reality.  I would imagine that pgAdmin will lie to you in exactly
the same cases that used to break pg_dump (notably, where someone has
manually adjusted either the default expression or the sequence...)

            regards, tom lane

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

Предыдущее
От: db de
Дата:
Сообщение: pg_start_backup question
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: pg_start_backup question