Re: Idea about sql command create table like

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: David BOURIAUD <david(dot)bouriaud(at)ac-rouen(dot)fr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Idea about sql command create table like
Date: 2008-03-12 16:42:15
Message-ID: 47D807E7.2000804@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-03-12 16:42:44 Re: count(*) performance improvement ideas
Previous Message Bruce Momjian 2008-03-12 16:39:06 Re: Re: TODO-list on wiki (was: TODO update about SQLSTATE to PGconn)