Re: plpgsql - can't get a simple block to execute

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: plpgsql - can't get a simple block to execute
Дата
Msg-id 20050405213957.GA27700@winnie.fuhr.org
обсуждение исходный текст
Ответ на plpgsql - can't get a simple block to execute  ("Walker, Jed S" <Jed_Walker@cable.comcast.com>)
Список pgsql-novice
[Please include the mailing list on replies.]

On Tue, Apr 05, 2005 at 02:50:37PM -0600, Walker, Jed S wrote:
>
> So I can not use an anonymous block (as the plpgsql structure indicates I
> can)?

What do you mean by "as the plpgsql structure indicates I can"?
What part of the documentation are you looking at?  If you're looking
at the "Structure of PL/pgSQL" section, then remember that it's
describing the structure of a PL/pgSQL function -- it mentions
nothing about being able to execute anonymous blocks.

With current releases of PostgreSQL, if you want to use PL/pgSQL
or any other server-side language (PL/Perl, PL/Python, PL/Tcl,
etc.), then you must write a function.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: plpgsql - can't get a simple block to execute
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: plpgsql - can't get a simple block to execute