Re: help with PL/PgSQL bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: help with PL/PgSQL bug
Date
Msg-id 2914.1042269575@sss.pgh.pa.us
Whole thread Raw
In response to Re: help with PL/PgSQL bug  ("Mike Mascari" <mascarm@mascari.com>)
List pgsql-hackers
"Mike Mascari" <mascarm@mascari.com> writes:
>> Does Oracle's PL/SQL have a concept of record variables?  If so, what
>> do they do in this situation?

> In Oracle 8, a row of NULLs:

>   1  CREATE OR REPLACE FUNCTION foo(t IN NUMBER)
>   2  RETURN NUMBER
>   3  IS
>   4   emp_rec employees%ROWTYPE;

That's a rowtype variable, though, not a record variable.  I believe our
code will work the same as Oracle for that case.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: v7.3.1 psql against a v7.2.x database ...
Next
From: "Marc G. Fournier"
Date:
Subject: Re: v7.3.1 psql against a v7.2.x database ...