WHEN SQLSTATE '00000' THEN equals to WHEN OTHERS THEN

Поиск
Список
Период
Сортировка
От David Fiedler
Тема WHEN SQLSTATE '00000' THEN equals to WHEN OTHERS THEN
Дата
Msg-id CAHjN70-=H5EpTOuZVbC8mPvRS5EfZ4MY2=OUdVDWoyGvKhb+Rw@mail.gmail.com
обсуждение исходный текст
Ответы Re: WHEN SQLSTATE '00000' THEN equals to WHEN OTHERS THEN
Re: WHEN SQLSTATE '00000' THEN equals to WHEN OTHERS THEN
Список pgsql-docs
Hi,
I've stumbled across a code that used this condition, resulting in unexpected behavior. I think it worths a note that catching 00000 is not possible and that it results in a catch all handler.
What do you think? Should I post the expected text somewhere?

Thanks,
David Fiedler


--
David Fiedler
737472531
david.fido.fiedler@gmail.com

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