Re: BUG #18070: Assertion failed when processing error from plpy's iterator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18070: Assertion failed when processing error from plpy's iterator
Дата
Msg-id 3998850.1694916190@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #18070: Assertion failed when processing error from plpy's iterator  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: BUG #18070: Assertion failed when processing error from plpy's iterator  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-bugs
Michael Paquier <michael@paquier.xyz> writes:
> Please find attached a proposal of patch for a backpatch, that applies
> on HEAD.  The backpatch needs a few tweaks for alternate outputs, of
> course, depending on the version of python.

Yeah, the alternate output files will be a bit of a pain, but
should be straightforward as long as you're paying attention.

My only suggestion is that

+  plan = plpy.prepare("SELECT to_date('DD', 'DD') d")
+...
+DETAIL:  spiexceptions.InvalidDatetimeFormat: invalid value "DD" for "DD"

seems unnecessarily ambiguous, and so confusing as to whether the error
message is correct.  Let's make the input string be something other
than 'DD' here.

            regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #18108: server process was terminated by signal 11: Segmentation fault
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #18070: Assertion failed when processing error from plpy's iterator