Re: BUG #14414: SPI_ERROR_CONNECT on stable plpgsql function used for domain check

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14414: SPI_ERROR_CONNECT on stable plpgsql function used for domain check
Дата
Msg-id 6309.1478452360@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #14414: SPI_ERROR_CONNECT on stable plpgsql function used for domain check  (marcos.castedo@anachronics.com)
Список pgsql-bugs
marcos.castedo@anachronics.com writes:
> I'm trying to do a domain using stable plpgsql function for value check.
> This isn't working on 9.6.x on plpgsql using assignment from base data type,
> but it works fine on 9.2.x.

Seems to be broken in 9.5 too :-(.  I pushed a fix, thanks for the report!

> --Only fails on stable function, immutable works fine

FWIW, both cases fail for me.  There may be some other effect in whatever
your original case was, but in this specific example an immutable function
fails too.

            regards, tom lane

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

Предыдущее
От: "MauMau"
Дата:
Сообщение: Re: BUG #13755: pgwin32_is_service not checking if SECURITY_SERVICE_SID is disabled
Следующее
От: valerijs.gusjkovs@gmail.com
Дата:
Сообщение: BUG #14415: non-breaking space matching in regex as whitespace