Skip site navigation (1) Skip section navigation (2)

Re: CREATE TABLE LIKE INCLUDING INDEXES support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: NikhilS <nikkhils(at)gmail(dot)com>
Cc: "Neil Conway" <neilc(at)samurai(dot)com>,"Bruce Momjian" <bruce(at)momjian(dot)us>,"Trevor Hardcastle" <chizu(at)spicious(dot)com>,pgsql-patches(at)postgresql(dot)org
Subject: Re: CREATE TABLE LIKE INCLUDING INDEXES support
Date: 2007-06-03 14:48:21
Message-ID: 19542.1180882101@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
NikhilS <nikkhils(at)gmail(dot)com> writes:
> On 6/3/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> This still seems to fundamentally misunderstand the difference between
>> an index and a constraint.  IMHO it should not be examining pg_index
>> (or specifically, the index Relations) at all.

> Anyways, this patch and the functionality introduced herein will be useful
> in the "CREATE .. INCLUDING INDEXES" case too.

No doubt.  But those are different features and we shouldn't confuse
'em; in particular not put behavior into the INCLUDING CONSTRAINTS case
that shouldn't be there.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-06-03 17:08:40
Subject: pgsql: Create a GUC parameter temp_tablespaces that allows selection of
Previous:From: NikhilSDate: 2007-06-03 14:02:58
Subject: Re: CREATE TABLE LIKE INCLUDING INDEXES support

pgsql-patches by date

Next:From: Tom LaneDate: 2007-06-03 17:42:07
Subject: Re: GUC temp_tablespaces (updated)
Previous:From: NikhilSDate: 2007-06-03 14:02:58
Subject: Re: CREATE TABLE LIKE INCLUDING INDEXES support

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group