Re: Are circular REFERENCES possible ?

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Are circular REFERENCES possible ?
Дата
Msg-id 200108071916.f77JGan02607@jupiter.us.greatbridge.com
обсуждение исходный текст
Ответ на Are circular REFERENCES possible ?  (Denis Bucher <dbucher@niftycom.com>)
Список pgsql-sql
Tom Lane wrote:
> Jan Wieck <JanWieck@Yahoo.com> 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
Дата:
Сообщение: Re: Are circular REFERENCES possible ?