Re: plpgsql FOUND Variable

Поиск
Список
Период
Сортировка
От Zygmuntowicz Michal
Тема Re: plpgsql FOUND Variable
Дата
Msg-id 003201c36d4a$c8dd9c40$7003a8c0@zvision
обсуждение исходный текст
Список pgsql-general
Alex,

I had similar problem with pgsql 7.3.3 and 7.3.4 when
using SELECT INTO RECORD variable. I noticed that
FOUND is always set to TRUE, but if no result is found,
RECORD variable is filled with NULL values.

My workaround was to check for NULL field value,
if there should not be ever NULL (primary key, etc).

---
Zygmuntowicz Michal

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