mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 09:46:55 +02:00
Mark item as complete, add another:
< * Allow triggers to be disabled [trigger] > * -Allow triggers to be disabled [trigger] > * Allow triggers to be disabled in only the current session. < Currently the only way to disable triggers is to modify the system < tables. > This is currently possible by starting a multi-statement transaction, > modifying the system tables, performing the desired SQL, restoring the > system tables, and committing the transaction. ALTER TABLE ... > TRIGGER requires a table lock so it is not idea for this usage.
This commit is contained in:
parent
5279f688c5
commit
2b215215ad
11
doc/TODO
11
doc/TODO
@ -2,7 +2,7 @@
|
|||||||
PostgreSQL TODO List
|
PostgreSQL TODO List
|
||||||
====================
|
====================
|
||||||
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
||||||
Last updated: Sat Aug 20 21:04:41 EDT 2005
|
Last updated: Tue Aug 23 19:51:09 EDT 2005
|
||||||
|
|
||||||
The most recent version of this document can be viewed at
|
The most recent version of this document can be viewed at
|
||||||
http://www.postgresql.org/docs/faqs.TODO.html.
|
http://www.postgresql.org/docs/faqs.TODO.html.
|
||||||
@ -638,10 +638,13 @@ Referential Integrity
|
|||||||
* Change foreign key constraint for array -> element to mean element
|
* Change foreign key constraint for array -> element to mean element
|
||||||
in array?
|
in array?
|
||||||
* Allow DEFERRABLE UNIQUE constraints?
|
* Allow DEFERRABLE UNIQUE constraints?
|
||||||
* Allow triggers to be disabled [trigger]
|
* -Allow triggers to be disabled [trigger]
|
||||||
|
* Allow triggers to be disabled in only the current session.
|
||||||
|
|
||||||
Currently the only way to disable triggers is to modify the system
|
This is currently possible by starting a multi-statement transaction,
|
||||||
tables.
|
modifying the system tables, performing the desired SQL, restoring the
|
||||||
|
system tables, and committing the transaction. ALTER TABLE ...
|
||||||
|
TRIGGER requires a table lock so it is not idea for this usage.
|
||||||
|
|
||||||
* With disabled triggers, allow pg_dump to use ALTER TABLE ADD FOREIGN KEY
|
* With disabled triggers, allow pg_dump to use ALTER TABLE ADD FOREIGN KEY
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
|
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
|
||||||
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
|
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
|
||||||
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
|
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
|
||||||
Last updated: Sat Aug 20 21:04:41 EDT 2005
|
Last updated: Tue Aug 23 19:51:09 EDT 2005
|
||||||
</p>
|
</p>
|
||||||
<p>The most recent version of this document can be viewed at<br/>
|
<p>The most recent version of this document can be viewed at<br/>
|
||||||
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
|
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
|
||||||
@ -580,9 +580,12 @@ first.
|
|||||||
</li><li>Change foreign key constraint for array -> element to mean element
|
</li><li>Change foreign key constraint for array -> element to mean element
|
||||||
in array?
|
in array?
|
||||||
</li><li>Allow DEFERRABLE UNIQUE constraints?
|
</li><li>Allow DEFERRABLE UNIQUE constraints?
|
||||||
</li><li>Allow triggers to be disabled [<a href="http://momjian.postgresql.org/cgi-bin/pgtodo?trigger">trigger</a>]
|
</li><li>-<em>Allow triggers to be disabled [<a href="http://momjian.postgresql.org/cgi-bin/pgtodo?trigger">trigger</a>]</em>
|
||||||
<p> Currently the only way to disable triggers is to modify the system
|
</li><li>Allow triggers to be disabled in only the current session.
|
||||||
tables.
|
<p> This is currently possible by starting a multi-statement transaction,
|
||||||
|
modifying the system tables, performing the desired SQL, restoring the
|
||||||
|
system tables, and committing the transaction. ALTER TABLE ...
|
||||||
|
TRIGGER requires a table lock so it is not idea for this usage.
|
||||||
</p>
|
</p>
|
||||||
</li><li>With disabled triggers, allow pg_dump to use ALTER TABLE ADD FOREIGN KEY
|
</li><li>With disabled triggers, allow pg_dump to use ALTER TABLE ADD FOREIGN KEY
|
||||||
<p> If the dump is known to be valid, allow foreign keys to be added
|
<p> If the dump is known to be valid, allow foreign keys to be added
|
||||||
|
Loading…
Reference in New Issue
Block a user