Can we use sqlcode in functions of plpgsql

Поиск
Список
Период
Сортировка
От tushar nehete
Тема Can we use sqlcode in functions of plpgsql
Дата
Msg-id CANuBLQU7ts9rG8wCHZoT0xboUMvXqcmgMpuJxrgJOxutCe6bEQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Can we use sqlcode in functions of plpgsql
Список pgsql-general
Hi,
For backward compatibility and some other reasons we want to use
SQLCODE in our functions of PLPGSQL.
But in Postgres Server 9.0 it gives error for SQLCODE.
Is there any way to use SQLCODE in functions of PLPGSQL at the place of SQLSTATE?
Also what is the datatype of SQLSTATE?

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

Предыдущее
От: Frank Lanitz
Дата:
Сообщение: Standby server witching into master role after import failure
Следующее
От: Vincent de Phily
Дата:
Сообщение: Re: Never-idle autovacuum, and does (auto)vacuuming fill the OS cache ?