Re: PL/pgSQL examples NOT involving functions

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: PL/pgSQL examples NOT involving functions
Дата
Msg-id web-506947@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на PL/pgSQL examples NOT involving functions  (Roland Roberts <roland@astrofoto.org>)
Ответы Re: PL/pgSQL examples NOT involving functions  (Roland Roberts <roland@astrofoto.org>)
Список pgsql-sql
Roland,

Please do not cross-post to multiple lists.

> How can I write a few lines of PL/pgSQL which do not involve creating
> a function?  I can find no examples of this in the docs, but say I
> would like to do something like

You can't.  PL/pgSQL, like PL/Perl and PL/Tcl, may only be used in
functions.

-Josh


______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


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

Предыдущее
От: Roland Roberts
Дата:
Сообщение: Re: INSERT question
Следующее
От: Roland Roberts
Дата:
Сообщение: Re: PL/pgSQL examples NOT involving functions