Re: Documentation regarding %ROWTYPE in PL/PgSQL - Mailing list pgsql-bugs

From Andrew McMillan
Subject Re: Documentation regarding %ROWTYPE in PL/PgSQL
Date
Msg-id 1022757145.15831.2.camel@kant.mcmillan.net.nz
Whole thread Raw
In response to Re: Documentation regarding %ROWTYPE in PL/PgSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Documentation regarding %ROWTYPE in PL/PgSQL
Re: Documentation regarding %ROWTYPE in PL/PgSQL
List pgsql-bugs
On Wed, 2002-05-29 at 01:41, Tom Lane wrote:
>
> > Is it a good idea to provide an example (such as the above), or should I
> > just try and describe the behaviour?
>
> Examples are generally good things ...

OK, the attached documentation patch provides some simple examples of
use of tablename as a parameter, %ROWTYPE and %TYPE.

In the end I decided that the documentation is literally correct, but
hard to follow without any examples explicitly showing the use of a
table name as a parameter.

Cheers,
                    Andrew.
--
--------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/        PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201    MOB: +64(21)635-694    OFFICE: +64(4)499-2267
       Are you enrolled at http://schoolreunions.co.nz/ yet?

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #681: creating indices after data insertion
Next
From: "Brendon Matthews"
Date:
Subject: BUG: mismatched parentheses