Re: drop table problem

Поиск
Список
Период
Сортировка
От frank_lupo
Тема Re: drop table problem
Дата
Msg-id H99V2M$A5659A108EA0B342BC5627E76622DA8F@email.it
обсуждение исходный текст
Ответы Re: Re: drop table problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> "frank_lupo"  writes:
> > If create a table and alter column add sequence. The relation on table and =
> > sequence is not present in pg_depend.
> What are you doing, exactly?  ADD COLUMN foo SERIAL doesn't work yet.
> regression=# alter table vv add column f2 serial;
> NOTICE:  ALTER TABLE will create implicit sequence 'vv_f2_seq' for SERIAL column 'vv.f2'
> ERROR:  Adding columns with defaults is not implemente d.
0D
>         Add the column, then use ALTER TABLE SET DEFAULT.
> SET DEFAULT nextval('foo') does not create an auto-drop dependency,
> and should not IMHO.
>  regards, tom lane
 
An other problem and that if I create a table p1 with a field sequence and this sequence I associate it to one other table p2, when drop p1 the table p2 remains without sequence.
 
Tanks
 
Bye !! Frank Lupo (Wolf) !! /\_ _/\ \ o o / --ooo-----ooo---

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

Предыдущее
От: "frank_lupo"
Дата:
Сообщение: Re: drop table problem
Следующее
От: =?iso-8859-9 ?q?=C7a=F0=FDl=20=DEeker?=
Дата:
Сообщение: pcap filter for postgresql authorization