Re: CREATE TABLE LIKE INCLUDING INDEXES support

From: NikhilS <nikkhils(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-05 09:20:23
Message-ID: d3c4af540706050220k23972cb0l8f9eac6736757e47@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hi,

> 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.
>

PFA, a patch which provides the "CREATE .. INCLUDING INDEXES" functionality.
This patch uses the same functionality introduced by the earlier patches in
this thread albeit for the "INCLUDING INDEXES" case.

For ease of review, this patch is based on the latest version which was
posted by Neil.
Please let me know if there are any issues.

Regards,
Nikhils
--
EnterpriseDB http://www.enterprisedb.com

Attachment Content-Type Size
including_indexes_v1.0.patch text/x-patch 33.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas ADI SD 2007-06-05 09:41:36 Re: TOAST usage setting
Previous Message Peter Eisentraut 2007-06-05 08:29:30 Re: [HACHERS] privilege check: column level only?

Browse pgsql-patches by date

  From Date Subject
Next Message Jeff Davis 2007-06-05 17:34:18 Re: Synchronized scans
Previous Message Heikki Linnakangas 2007-06-05 08:47:44 Re: Synchronized scans