Error or bug? - Mailing list pgsql-general

From Vincenzo Romano
Subject Error or bug?
Date
Msg-id 200706201705.28620.Vincenzo.Romano@notorand.it
Whole thread Raw
Responses Re: Error or bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi all.

Under PGSQL v8.2.4, in a PL/PgSQL function whenver I try to run this
statement:

INSERT INTO table1 SELECT  var1.*;

I get his message:

ERROR:  record type has not been registered
CONTEXT:  SQL statement "INSERT INTO table1 select  $1 .*"

Of course var1 has been declared as table1 type.

I suspect this could be a bug. But cannot be sure.
Any hint?

--
Vincenzo Romano -= NotOrAnd.IT Information Technologies =-
tel +39 0823 454163 | cel +39 339 8083886 | fax +39 02 700506964
<Smooth seas never make experienced sailormen>

pgsql-general by date:

Previous
From: Marco Colombo
Date:
Subject: Re: unexpected shutdown
Next
From: Fernando Schapachnik
Date:
Subject: Re: Optimizer problem in 8.1.6