Re: Are circular REFERENCES possible ?

Поиск
Список
Период
Сортировка
Искать
От
Jan Wieck
Тема
Re: Are circular REFERENCES possible ?
Дата
Msg-id
200108071916.f77JGan02607@jupiter.us.greatbridge.com
Список
Дерево обсуждения
Re: Are circular REFERENCES possible ? "William Courtier" <wcourtier@travelprice.com>
Tom Lane wrote:
> Jan Wieck  writes:
> >     The point is that we based our implementation of foreign keys
> >     on the SQL3 specs. DEFERRED is not in SQL-92 AFAIK.
>
> I still have a concern about this --- sure, you can set up the circular
> references using ALTER TABLE, but will pg_dump dump them correctly?
   AFAIK yes.
   I'm  not  sure if it still uses the CONSTRAINT TRIGGER syntax   or does it now with ALTER TABLE. But for sure it creates  all   tables  first,  then  loads  the  data,  then  activates  the   constraints (wouldn't work very well otherwise).


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


В списке pgsql-sql по дате отправления
От: Josh Berkus
Дата:
Сообщение: Name Alike Challenge
От: Tom Lane
Дата:
FAQ