On Fri, Jul 20, 2007 at 12:40:46PM +0100, Gregory Stark wrote:
> "Tatsuo Ishii" <ishii(at)sraoss(dot)co(dot)jp> writes:
> > Can someone enligten me what the usecase for CREATE TABLE LIKE at this
> > moment is?
> One of the main use cases I envision is wanting to create new partitions
> suitable for being added to a partitioned table.
Except that's normally done with CREATE TABLE INHERITS, which seems
cleaner to me. I think the patch would be more useful if it added
support for INHERITS, but I don't object to it as-is.
Jim Nasby decibel(at)decibel(dot)org
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
In response to
pgsql-hackers by date
|Next:||From: Andrew - Supernews||Date: 2007-07-21 01:02:20|
|Subject: Re: Solved? Re: 8.2.4 signal 11 with large transaction|
|Previous:||From: Andrew Dunstan||Date: 2007-07-20 20:33:58|
|Subject: Re: Memory leak in vac_update_relstats ?|
pgsql-patches by date
|Next:||From: Gregory Stark||Date: 2007-07-21 09:54:17|
|Subject: Re: CREATE TABLE LIKE INCLUDING INDEXES support|
|Previous:||From: Magnus Hagander||Date: 2007-07-20 20:35:59|
|Subject: Re: SSPI authentication - patch|