Re: Documentation regarding %ROWTYPE in PL/PgSQL
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Andrew McMillan <andrew@catalyst.net.nz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-bugs@postgresql.org
Date: 2002-06-15T19:34:51Z
Lists: pgsql-bugs
Patch applied. Thanks. --------------------------------------------------------------------------- Andrew McMillan wrote: > 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, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026