| From: | Josh Berkus <josh(at)agliodbs(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: Different results in a loop with RECORD vs ROWTYPE... |
| Date: | 2003-05-23 18:12:40 |
| Message-ID: | 200305231112.41146.josh@agliodbs.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Tom,
> > If you're still interested, I will consult my PL/SQL bible this afternoon
to
> > see what Oracle 8i does in this case.
>
> Since plpgsql is generally supposed to be a slavish imitation of Oracle,
> it would be good to know what they do...
Unfortunately, PL/PQL Programming, 2nd Edition, does not make it clear what
happens if you select the wrong columns for a given %ROWTYPE. Like PL/pgSQL,
PL/SQL Programming encourages the use of RECORDs rather than %ROWTYPE.
I'll post to the SQL list to see if any of the Oracle hackers there knows.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mendola Gaetano | 2003-05-26 10:52:35 | What does mean: NUMBER OF INDEX' TUPLES (21539) IS NOT THE SAME AS HEAP (18607)' |
| Previous Message | Tom Lane | 2003-05-23 17:57:36 | Re: Different results in a loop with RECORD vs ROWTYPE... |