Re: PL/pgSQL NOT NULL variables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/pgSQL NOT NULL variables
Дата
Msg-id 15847.978745584@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/pgSQL NOT NULL variables  (Richard Poole <richard.poole@vi.net>)
Список pgsql-general
Richard Poole <richard.poole@vi.net> writes:
> I can't get NOT NULL variables to work at all in PL/pgSQL.

Doesn't look like they've ever worked :-(.  If you need a patch for
7.0.*, line 1907 of src/pl/plpgsql/src/pl_exec.c should read

            if (*isNull && var->notnull)

not

            if (isNull && var->notnull)


            regards, tom lane

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

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: Re: SHM ids (was running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2)
Следующее
От: "Dave VanAuken"
Дата:
Сообщение: RE: SHM ids (was running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2)