Re: print command in sproc

Поиск
Список
Период
Сортировка
От Filip Rembiałkowski
Тема Re: print command in sproc
Дата
Msg-id 92869e660710300502t1fd5fd8ar6e718c41fa6c0cb@mail.gmail.com
обсуждение исходный текст
Ответ на Re: print command in sproc  (Jorge Godoy <jgodoy@gmail.com>)
Список pgsql-general
2007/10/30, Jorge Godoy <jgodoy@gmail.com>:
> Em Tuesday 23 October 2007 07:17:53 Goboxe escreveu:
> > Hi,
> >
> > What is the equivalent MSSQL 'print' command in pg sproc?
>
> What does the MSSQL 'print' command "prints"?

It prints what you tell it to print :)

Goboxe: The key question is, what you need 'print' for?

For PL/PgSQL debugging, use RAISE NOTICE - or write your own logging functions

If you are using psql, and just want to emit some static text - use '\echo'

HTH.



--
Filip Rembiałkowski

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Fragments in tsearch2 headline
Следующее
От: "Pit M."
Дата:
Сообщение: Re: Problems with PostgreSQL DBI-Link / DBD-ODBC