creating a table from another table

From: "David O'Farrell" <dave(dot)ofarrell(at)aersoft(dot)ie>
To: pgsql-general(at)postgresql(dot)org
Subject: creating a table from another table
Date: 1999-03-08 17:50:08
Message-ID: 36E40DD0.51817780@aersoft.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-- is there any smart way to duplicate a table definition (NOT the
data in the table).I want to create table(s) from a predefined template
and drop them when they are empty .

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David O'Farrell AerSoft Limited
mailto:dave(dot)ofarrell(at)aersoft(dot)ie 2 Northumberland Avenue,
Dun Laoghaire,Co. Dublin
Direct Phone 353-1-2145950
Phone: 01-2301166 Fax: 01-2301167
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-03-08 17:55:09 Re: [GENERAL] creating a table from another table
Previous Message Vadim Valiakhmetov 1999-03-08 12:51:18 Postgress case insensitive search on FreeBSD3.0