Re: Got error on CREATE TABLE AS (+Bug?) - Mailing list pgsql-general

From Jeff Lu
Subject Re: Got error on CREATE TABLE AS (+Bug?)
Date
Msg-id LIEBJAJMJFLPHGCPMEBGOEJICEAA.jklcom@mindspring.com
Whole thread Raw
In response to Re: Got error on CREATE TABLE AS (+Bug?)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Got error on CREATE TABLE AS (+Bug?)
List pgsql-general
Thanks,
will this be fixed on the next release?

-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org]On Behalf Of Tom Lane
Sent: Sunday, November 04, 2001 9:02 PM
To: Command Prompt, Inc.; Jeff Lu; Postgresql General
Subject: Re: [GENERAL] Got error on CREATE TABLE AS (+Bug?)


Tom Lane <tgl@sss.pgh.pa.us> writes:
> "Command Prompt, Inc." <pgsql-general@commandprompt.com> writes:
>> lx=# CREATE TABLE abc (a char, b char, c char);
>> CREATE
>> lx=# CREATE TABLE xyz (x, y, z) AS SELECT * FROM abc;
>> ERROR:  CREATE TABLE/AS SELECT has mismatched column count
>> lx=# CREATE TABLE xyz (x, y, z) AS SELECT a, b, c FROM abc;
>> SELECT

> Looks like a bug to me too.  Will look into it.

Fix committed for 7.2.

            regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

pgsql-general by date:

Previous
From: "Aasmund Midttun Godal"
Date:
Subject: Re: Limitations on PGSQL
Next
From: Thomas Lockhart
Date:
Subject: Re: Sum(time) possible?