Re: plpython crash

Поиск
Список
Период
Сортировка
От Jan Urbański
Тема Re: plpython crash
Дата
Msg-id 4E4A877D.3000700@wulczer.org
обсуждение исходный текст
Ответ на Re: plpython crash  (Jean-Baptiste Quenot <jbq@caraldi.com>)
Ответы Re: plpython crash  (Jan Urbański <wulczer@wulczer.org>)
Список pgsql-hackers
On 16/08/11 16:52, Jean-Baptiste Quenot wrote:
> After backporting plpython.c from HEAD, this is the error message I get:
> 
> ERROR:  key "........pg.dropped.6........" not found in mapping
> HINT:  To return null in a column, add the value None to the mapping
> with the key named after the column.
> CONTEXT:  while creating return value
> PL/Python function "myfunc"
> 
> What does it mean?

Ah, interesting, I think that this means that you are returning a table
type and that table has a dropped column. The code should skip over
dropped columns, but apparently it does not and tries to find a value
for that column in the mapping you are returning.

I'll try to reproduce it here.

Jan


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: some missing internationalization in pg_basebackup
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Re: Should we have an optional limit on the recursion depth of recursive CTEs?