Skip to content

Commit b7741bf

Browse files
committed
Add:
> o Add ALTER TABLE tab ADD/DROP INHERITS parent > > pg_attribute.attislocal has to be set to 'false' for ADD, and > pg_attribute.attinhcount adjusted appropriately >
1 parent a2b6c89 commit b7741bf

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

doc/TODO

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
5-
Last updated: Mon May 22 16:39:01 EDT 2006
5+
Last updated: Tue May 23 16:57:44 EDT 2006
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -519,6 +519,11 @@ SQL Commands
519519
is used
520520
o %Prevent child tables from altering or dropping constraints
521521
like CHECK that were inherited from the parent table
522+
o Add ALTER TABLE tab ADD/DROP INHERITS parent
523+
524+
pg_attribute.attislocal has to be set to 'false' for ADD, and
525+
pg_attribute.attinhcount adjusted appropriately
526+
522527
o Have ALTER INDEX update the name of a constraint using that index
523528
o Add ALTER TABLE RENAME CONSTRAINT, update index name also
524529

doc/src/FAQ/TODO.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
99
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
11-
Last updated: Mon May 22 16:39:01 EDT 2006
11+
Last updated: Tue May 23 16:57:44 EDT 2006
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -476,6 +476,10 @@ <h1><a name="section_8">SQL Commands</a></h1>
476476
is used
477477
</li><li>%Prevent child tables from altering or dropping constraints
478478
like CHECK that were inherited from the parent table
479+
</li><li>Add ALTER TABLE tab ADD/DROP INHERITS parent
480+
<p> pg_attribute.attislocal has to be set to 'false' for ADD, and
481+
pg_attribute.attinhcount adjusted appropriately
482+
</p>
479483
</li><li>Have ALTER INDEX update the name of a constraint using that index
480484
</li><li>Add ALTER TABLE RENAME CONSTRAINT, update index name also
481485
</li></ul>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy