From: Tom Lane <tgl@sss.pgh.pa.us>
To: TJ O'Donnell <tjo@acm.org>
Cc: PostgreSQL - SQL <pgsql-sql@postgresql.org>
Subject: Re: Create Table xtest (like xtype)
Date: Wed, 06 Feb 2008 18:21:14 -0500
Message-ID: <19826.1202340074@sss.pgh.pa.us> (raw)
In-Reply-To: <47AA0D2E.5040303@acm.org>
References: <47AA0D2E.5040303@acm.org>
"TJ O'Donnell" <tjo@acm.org> writes:
> Create Type xtype As (a Integer, b Text);
> Create Table xtest (Like xtype);
> ERROR: "xtype" is a composite type
Hmmm ... as you see, that's disallowed, but offhand it seems like it
wouldn't be very hard to allow it. It might be as simple as relaxing
the relkind check.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, tjo@acm.org
Subject: Re: Create Table xtest (like xtype)
In-Reply-To: <19826.1202340074@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox