Re: Documentation regarding %ROWTYPE in PL/PgSQL

Поиск
Список
Период
Сортировка
От Andrew McMillan
Тема Re: Documentation regarding %ROWTYPE in PL/PgSQL
Дата
Msg-id 1022757145.15831.2.camel@kant.mcmillan.net.nz
обсуждение исходный текст
Ответ на Re: Documentation regarding %ROWTYPE in PL/PgSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Documentation regarding %ROWTYPE in PL/PgSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Documentation regarding %ROWTYPE in PL/PgSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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?

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #681: creating indices after data insertion
Следующее
От: "Brendon Matthews"
Дата:
Сообщение: BUG: mismatched parentheses