From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Rod Taylor <rbt(at)zort(dot)ca> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Memo on dropping practices |
Date: | 2002-07-13 02:43:14 |
Message-ID: | 200207130243.g6D2hEG10187@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Thanks, TODO updated. I split out "Make constraints clearer in dump
file" into a foreign key version, which I marked as done, and a second
version which I left as undone.
Thanks. That's a heap of items completed.
---------------------------------------------------------------------------
Rod Taylor wrote:
> > * Add pg_depend table for dependency recording; use sysrelid, oid,
> > depend_sysrelid, depend_oid, name
> > * Auto-destroy sequence on DROP of table with SERIAL; perhaps a separate
> > SERIAL type
> > * Have SERIAL generate non-colliding sequence names when we have
> > auto-destruction
> > * Prevent column dropping if column is used by foreign key
> > * Propagate column or table renaming to foreign key constraints
> > * Automatically drop constraints/functions when object is dropped
> > * Make constraints clearer in dump file
> > * Make foreign keys easier to identify
> > * Flush cached query plans when their underlying catalog data changes
> >
> > Which of these are done with the patch?
>
> Below is what I listed off as complete when submitting the patch.
>
> 'Make constraints clearer in dump file' is questionable. Foreign keys
> are, others not yet, but they need to be.
>
>
> # Add ALTER TABLE DROP non-CHECK CONSTRAINT
> # Allow psql \d to show foreign keys
> * Add pg_depend table for dependency recording; use sysrelid, oid,
> depend_sysrelid, depend_oid, name
> # Auto-destroy sequence on DROP of table with SERIAL
> # Prevent column dropping if column is used by foreign key
> # Automatically drop constraints/functions when object is dropped
> # Make constraints clearer in dump file
> # Make foreign keys easier to identify
>
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2002-07-13 02:51:54 | Re: Memo on dropping practices |
Previous Message | Rod Taylor | 2002-07-13 02:38:09 | Re: Memo on dropping practices |