Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: Table inher...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 9322 of 11009
Post > Topic >>

Re: Table inheritance surprise

by tgl@[EMAIL PROTECTED] (Tom Lane) Jun 27, 2008 at 06:08 PM

Simon Riggs <simon@[EMAIL PROTECTED]
> writes:
> On Thu, 2008-06-26 at 18:53 -0400, Bruce Momjian wrote:
>> TODO has:
>> 
>> o Allow inherited tables to inherit indexes, UNIQUE constraints,
>> and primary/foreign keys

But that TODO item is about inheritance, which has approximately
zip to do with CREATE TABLE LIKE.

> INCLUDING CONSTRAINTS is non-standard so maybe we can just make
> INCLUDING CONSTRAINTS also include foreign keys.

In a green field that would probably make sense, but it'd create
a significant backward compatibility problem to do it now.
Undoubtedly there are apps depending on the current behavior of
LIKE INCLUDING CONSTRAINTS.  (If there are not, then the feature is
useless and we should take it out instead of extending it.)

			regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 4 Posts in Topic:
Table inheritance surprise
david@[EMAIL PROTECTED]   2008-05-07 14:52:08 
Re: Table inheritance surprise
bruce@[EMAIL PROTECTED]   2008-06-26 18:53:05 
Re: Table inheritance surprise
simon@[EMAIL PROTECTED]   2008-06-27 13:11:56 
Re: Table inheritance surprise
tgl@[EMAIL PROTECTED] (T  2008-06-27 18:08:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 7:58:51 CST 2008.