Re: BUG #5201: insert select gives bogus error message - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5201: insert select gives bogus error message
Date
Msg-id 4821.1258783363@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5201: insert select gives bogus error message  ("" <anteusz@freemail.hu>)
List pgsql-bugs
"" <anteusz@freemail.hu> writes:
> I have two tables.
> table a, and table b.
> table a inherits table b in create table.
> table b had at least 10 fields.
> I had a command insert into a select * from b;
> I got an error message saying
> that number of expressions/arguments is not ok.
> This does not happen if I use "like" instead of inherit.

This is most likely pilot error, but without seeing exactly what
you did, no one can tell for sure.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Alain Baeckeroot"
Date:
Subject: BUG #5205: Cannot ADD CONSTRAINT ... FOREIGN KEY...
Next
From: "denny saviant"
Date:
Subject: BUG #5207: unable to start postgresql server services