Re: [HACKERS] Malformed Array Literal in PL/pgSQL Exception Block

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: [HACKERS] Malformed Array Literal in PL/pgSQL Exception Block
Дата
Msg-id C07D650C-A941-446A-83E3-FB6C07E9CD1B@justatheory.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Malformed Array Literal in PL/pgSQL Exception Block  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: [HACKERS] Malformed Array Literal in PL/pgSQL Exception Block
Список pgsql-hackers
On Apr 9, 2017, at 9:52 PM, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:

> This "raise" statement is not reached, because the previous line raises
> the "malformed array literal" error.

Bah!

> David>     EXCEPTION WHEN OTHERS THEN
>
> If you change this to  EXCEPTION WHEN division_by_zero THEN, the
> reported error becomes:
>
> ERROR:  malformed array literal: "foo"
> LINE 1: SELECT things || 'foo'

So the issue stands, yes?

D


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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: [HACKERS] Malformed Array Literal in PL/pgSQL Exception Block
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: [HACKERS] Malformed Array Literal in PL/pgSQL Exception Block