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
|
Список | 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 по дате отправления: