Re: RAISE NOTICE format in pgAdmin
От | Tony Caduto |
---|---|
Тема | Re: RAISE NOTICE format in pgAdmin |
Дата | |
Msg-id | 48BD4F8D.9020005@amsoftwaredesign.com обсуждение исходный текст |
Ответ на | RAISE NOTICE format in pgAdmin (Bill Todd <pg@dbginc.com>) |
Список | pgsql-general |
Bill Todd wrote: > If I have a series of RAISE NOTICE 'xxx' statements in a plpgsql > function and I call the function from pgAdmin the notice messages are > concatenated on a single line on the Messages tab. Is there any way to > get each message to appear on a separate line? > > Is there a better way than using RAISE NOTICE to debug functions? > > Bill > Bill, Make sure you are on at least version 8.2 (8.3 is preferred) and use a plpgsql debugger. Later versions of Pgadmin have one built in and a stand alone version is available from: http://www.amsoftwaredesign.com/debugger_client_announce (built with Delphi) If you are using the win32 version there is a option at the end of the installer script to install the debugger part. On 8.2 or 8.3 you will need to install it yourself. Please see: http://pgfoundry.org/projects/edb-debugger/ Hope that helps. Tony Caduto AM Software Design http://www.amsoftwaredesign.com Home of Lightning Admin for PostgreSQL
В списке pgsql-general по дате отправления: