Re: PL/pgSQL, RAISE and error context
| От | Marko Tiikkaja |
|---|---|
| Тема | Re: PL/pgSQL, RAISE and error context |
| Дата | |
| Msg-id | 5541E6CA.3000409@joh.to обсуждение исходный текст |
| Ответ на | Re: PL/pgSQL, RAISE and error context (Pavel Stehule <pavel.stehule@gmail.com>) |
| Ответы |
Re: PL/pgSQL, RAISE and error context
|
| Список | pgsql-hackers |
Hi Pavel, This doesn't seem to be what I thought we had agreed on. For example: =# create function barf() returns void as $$ begin raise notice without context 'hello world'; end $$ language plpgsql; CREATE FUNCTION =# create function foof() returns void as $$ begin perform barf(); end $$ language plpgsql; CREATE FUNCTION =# select foof(); NOTICE: hello world CONTEXT: SQL statement "SELECT barf()" PL/pgSQL function foof() line 1 at PERFORM It's not only clear that WITHOUT CONTEXT didn't really work here, but it also had absolutely no effect since the context within barf() is also displayed. .m
В списке pgsql-hackers по дате отправления: