Re: crypt function crash on postgresql 9.3.20 and 10

Поиск
Список
Период
Сортировка
От Michael
Тема Re: crypt function crash on postgresql 9.3.20 and 10
Дата
Msg-id 20180202220545.12ec535f@ahpeb
обсуждение исходный текст
Ответ на Re: crypt function crash on postgresql 9.3.20 and 10  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
В Fri, 2 Feb 2018 11:53:06 -0700
"David G. Johnston" <david.g.johnston@gmail.com> пишет:

> On Friday, February 2, 2018, Michael <asper@tagan.ru> wrote:
>
> >
> > However, in a postgresql 9.3.2, such a call does not lead to an
> > error.
>
>
> If you are saying 9.3.2 gives a result and 9.3.20 raises an error I
> suspect the response in 9.3.2 was bogus and giving an error instead
> of a bogus result was deemed the best fix.
>
>
> > how then should the function respond to a call
> > select crypt('123',NULL);
> > this does not cause an error
> >
>
> It probably returns null because I would hope the function is defined
> as strict.
>
> David J.

Thank you for the clarification. In any case, I've already fixed the
queries in my application to get around this behavior.


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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: crypt function crash on postgresql 9.3.20 and 10
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #14952: COPY fails to fill in IDENTITY column default value