Re: echo/printf function in plpgsql

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: echo/printf function in plpgsql
Дата
Msg-id 42DD19DE.60106@archonet.com
обсуждение исходный текст
Ответ на echo/printf function in plpgsql  (Andreas Joseph Krogh <andreak@officenet.no>)
Ответы Re: echo/printf function in plpgsql  (Andreas Joseph Krogh <andreak@officenet.no>)
Список pgsql-sql
Andreas Joseph Krogh wrote:
> Hi all!
> 
> Is there a way of echo'ing a string(like "raise notice 'this is id%', id") 
> from plpgsql? I want to echo/print it to STDOUT 'cause the notice-mechanism 
> produces too much noise IMH.

Your function is running in the backend. You don't have a STDOUT 
(although you might have redirected STDERR for logging).

--  Richard Huxton  Archonet Ltd


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

Предыдущее
От: Andreas Joseph Krogh
Дата:
Сообщение: echo/printf function in plpgsql
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: echo/printf function in plpgsql