COMMAND_OK for PL/pgSQL?

Поиск
Список
Период
Сортировка
От Ben
Тема COMMAND_OK for PL/pgSQL?
Дата
Msg-id Pine.LNX.4.44.0210260904020.16949-100000@localhost.localdomain
обсуждение исходный текст
Ответы Re: COMMAND_OK for PL/pgSQL?
Список pgsql-general
I'm just getting into writting stored procs with PL/pgSQL, and I'm having
a hard time finding a way to check the status of my commands. For
instance, I see that after an insert, I can get the RESULT_OID - but I'm
not sure this is a good way to check if the insert happened correctly and
didn't violate any constraints. If it is, how do I check that the oid
returned is valid?



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

Предыдущее
От: Hervé Piedvache
Дата:
Сообщение: Re: question about seq scan and index scan
Следующее
От: Ben
Дата:
Сообщение: user-friendly search strings