Re: Returning with a userd defined type (PL/pgSQL) - Mailing list pgsql-general

From Joe Conway
Subject Re: Returning with a userd defined type (PL/pgSQL)
Date
Msg-id 3EA947C7.8070007@joeconway.com
Whole thread Raw
In response to Re: Returning with a userd defined type (PL/pgSQL)  (Együd Csaba <csegyud@freemail.hu>)
List pgsql-general
Együd Csaba wrote:
>   ResultR   MY_TYPE;

Not the best of error messages perhaps, but change the above line to:

   ResultR   MY_TYPE%ROWTYPE;

HTH,

Joe


pgsql-general by date:

Previous
From: "David Olbersen"
Date:
Subject: Re: ODBC & Access [Try 2]
Next
From: marco
Date:
Subject: Performance problems