pgadmin 3

Поиск
Список
Период
Сортировка
От raptor@tvskat.net
Тема pgadmin 3
Дата
Msg-id 20040720162025.2801b600@bugs
обсуждение исходный текст
Ответы Re: pgadmin 3  (Mike G <mike@thegodshalls.com>)
Список pgsql-general
In pgadmin3 I'm tring to add auto_inc column like this

ALTER TABLE public.modems  ADD COLUMN id serial;

But get this error :

NOTICE:  ALTER TABLE will create implicit sequence "modems_id_seq" for "serial" column "modems.id"

ERROR:  adding columns with defaults is not implemented
HINT:  Add the column, then use ALTER TABLE SET DEFAULT.


How to add auto_inc fields... thanx

PS. Can I use OID column for primary/foreign functionality, or it
has some restriction ...i mean i may not use auto_inc field ?

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

Предыдущее
От: Gunasekaran Balakrishnan
Дата:
Сообщение: DIfferent ORDER BY behaviour in 7.4.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: DIfferent ORDER BY behaviour in 7.4.2