Re: [GENERAL] CREATE TABLE LIKE and SERIAL

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: [GENERAL] CREATE TABLE LIKE and SERIAL
Дата
Msg-id 200910310012.09092.guillaume@lelarge.info
обсуждение исходный текст
Ответы Re: [GENERAL] CREATE TABLE LIKE and SERIAL  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Le vendredi 30 octobre 2009 à 23:48:45, Tom Lane a écrit :
> 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...)
>

I've just read this. I wasn't aware of this. Should we suppress this behavior
of pgAdmin?


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

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

Предыдущее
От: David Lazar
Дата:
Сообщение: Re: [ADMIN] pgAdmin 1.10, OSX 10.6 problem
Следующее
От: Quan Zongliang
Дата:
Сообщение: import 2009/10/31