View Single Post

   
  #10 (permalink)  
Old 04-18-2008, 11:08 AM
Tom Lane
 
Posts: n/a
Default Re: CREATE TABLE LIKE INCLUDING INDEXES support

Alvaro Herrera <alvherre@commandprompt.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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote