| От | Tom Lane |
|---|---|
| Тема | Re: Problems handling errors in PL/pgSQL |
| Дата | |
| Msg-id | 24459.988071553@sss.pgh.pa.us обсуждение |
| Ответ на | Problems handling errors in PL/pgSQL ("Josh Berkus" <josh@agliodbs.com>) |
| Ответы |
Re: Problems handling errors in PL/pgSQL
|
| Список | pgsql-sql |
"Josh Berkus" <josh@agliodbs.com> writes:
> Always good to have you folks test something. This does appear to be a
> bug ... in KPSQL (the KDE GUI for PSQL), not in Postgres. When I run it
> through command-line PSQL, an error is returned; for some reason, KPSQL
> returns the return value for the function and no error.
But how would KPSQL know what value the function might have returned?
Something fishy here ... did you check the postmaster log to see whether
an error is really being reported or not?
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера