Running a PL/pgSQL function

Поиск
Список
Период
Сортировка
От Christophe
Тема Running a PL/pgSQL function
Дата
Msg-id 19F58684-986B-4C36-9647-49D32F1A2EEF@thebuild.com
обсуждение исходный текст
Ответы Re: Running a PL/pgSQL function  (Adrian Klaver <aklaver@comcast.net>)
Re: Running a PL/pgSQL function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I'm startled that I've never done this before, but...  I have a PL/
pgSQL function that takes no arguments, returns VOID, and has a bunch
of side effects on the database.  The correct way of invoking this
function is:

    SELECT my_func();

... yes?  Thanks; it seems to work fine, but using SELECT here is
causing some part of my brain to scream "counter-intuitive."

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Unlinked files in PGDATA/base following unclean shutdown
Следующее
От: Klint Gore
Дата:
Сообщение: Re: Can I search for text in a function?