Re: [HACKERS] Beta for 4:30AST ... ? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Beta for 4:30AST ... ?
Date
Msg-id Pine.GSO.4.02A.10002221347320.14754-100000@Haj.DoCS.UU.SE
Whole thread Raw
In response to Re: [HACKERS] Beta for 4:30AST ... ?  (sszabo@bigpanda.com)
List pgsql-hackers
On Tue, 22 Feb 2000 sszabo@bigpanda.com wrote:

> * pg_dump will dump CREATE CONSTRAINT TRIGGER statements for
>   tables with foreign key constraints.  In data only dumps,
>   pg_dump does a little bit of magic with the system catalogs
>   to turn off all triggers on user defined tables and turn
>   them back on at the end.

Whatever happened to the idea of a SET command for this? IIRC, SQL already
has a contraint related set command (for deferring, etc.). Why not
overload that to turn off foreign keys? I could imagine that being useful
for people developing database schemas.

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] psql and pager
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Beta for 4:30AST ... ?