Re: Printing values on pgadmin tool window using plperlu

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Printing values on pgadmin tool window using plperlu
Дата
Msg-id 20070514053623.GA2348@winnie.fuhr.org
обсуждение исходный текст
Ответ на Printing values on pgadmin tool window using plperlu  ("Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>)
Список pgsql-general
On Sun, May 13, 2007 at 11:51:55PM -0400, Harpreet Dhaliwal wrote:
> I have a function written in language plpelu.
> Normally, values in perl code are printed using
> print statement.
> Then same when used in postgres environment won't print messages in
> 'Messages' tab to pgadmin query tool window.
> How and where can I print these values while running the plperlu function.

Use elog().

http://www.postgresql.org/docs/8.2/interactive/plperl-database.html

--
Michael Fuhr

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

Предыдущее
От: "Jasbinder Singh Bali"
Дата:
Сообщение: EXCEPTION clause not identified
Следующее
От: Sim Zacks
Дата:
Сообщение: primary key index