Re: OID with %ROWTYPE in PLPGSQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jean-Luc Lachance <jllachan(at)nsd(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: OID with %ROWTYPE in PLPGSQL
Date: 2002-08-15 20:09:16
Message-ID: 1031.1029442156@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jean-Luc Lachance <jllachan(at)nsd(dot)ca> writes:
> Is there a way to have the OID included with %ROWTYPE?

No, because there's no guarantee that a rowtype value actually came
directly from a database row. For instance, it could be formed as
the return value of a function.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-08-15 20:17:33 Re: OID with %ROWTYPE in PLPGSQL
Previous Message Jean-Luc Lachance 2002-08-15 19:44:22 OID with %ROWTYPE in PLPGSQL