Re: Returning with a userd defined type (PL/pgSQL)

From: Joe Conway <mail(at)joeconway(dot)com>
To: Együd Csaba <csegyud(at)freemail(dot)hu>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Returning with a userd defined type (PL/pgSQL)
Date: 2003-04-25 14:35:51
Message-ID: 3EA947C7.8070007@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message marco 2003-04-25 14:53:39 Performance problems
Previous Message David Olbersen 2003-04-25 14:24:08 Re: ODBC & Access [Try 2]