Re: CREATE TABLE LIKE INCLUDING INDEXES support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: NikhilS <nikkhils(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Neil Conway <neilc(at)samurai(dot)com>, Trevor Hardcastle <chizu(at)spicious(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: CREATE TABLE LIKE INCLUDING INDEXES support
Date: 2007-05-23 14:38:53
Message-ID: 20472.1179931133@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Not sure. Is it possible that the schema is renamed while the operation
> is being executed? If it's not then this not a problem at all so the
> existing patch is fine.

There are hazards of that type in CREATE TABLE right now; it's hardly
fair to hold LIKE INCLUDING INDEXES to a higher standard.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message NikhilS 2007-05-23 14:39:20 Re: CREATE TABLE LIKE INCLUDING INDEXES support
Previous Message Andrew Dunstan 2007-05-23 14:34:06 Re: like/ilike improvements

Browse pgsql-patches by date

  From Date Subject
Next Message NikhilS 2007-05-23 14:39:20 Re: CREATE TABLE LIKE INCLUDING INDEXES support
Previous Message Andrew Dunstan 2007-05-23 14:34:06 Re: like/ilike improvements