Re: Idea about sql command create table like - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: Idea about sql command create table like
Date
Msg-id 47D807E7.2000804@timbira.com
Whole thread Raw
In response to Idea about sql command create table like  (David BOURIAUD <david.bouriaud@ac-rouen.fr>)
List pgsql-hackers
David BOURIAUD wrote:

> Could it be possible to have a syntax that would allow to use "create table 
> like" to rename fields as well, for example :
> 
> create table any_lib like (some_lib including constraints) with names 
> (any_code, any_text);
> 
What about coding a replace-stuff-function in pl/* ?


--   Euler Taveira de Oliveira  http://www.timbira.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: count(*) performance improvement ideas
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Re: TODO-list on wiki (was: TODO update about SQLSTATE to PGconn)