Re: Array of composite types returned from python

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема Re: Array of composite types returned from python
Дата
Msg-id 1440287423.479.1403984483224.JavaMail.root@compulab.co.il
обсуждение исходный текст
Ответ на Array of composite types returned from python  ("Behn, Edward (EBEHN)" <EBEHN@arinc.com>)
Ответы Re: Array of composite types returned from python
Список pgsql-hackers

Am I missing anything, (ie memory leak, undesirable behavior elsewhere)? 

-Ed 


I applied the patch and it looks like it is working well. As a longtime plpython user, I appreciate the fix.

I have a few comments:
1) I would remove the error message from the PO files as well.

2) You removed the comment:
-            /*
-             * We don't support arrays of row types yet, so the first argument
-             * can be NULL.
-             */

But didn't change the code there. 
I haven't delved deep enough into the code yet to understand the full meaning, but the comment would indicate that if
arraysof row types are supported, the first argument cannot be null.
 

3) This is such a simple change with no new infrastructure code (PLyObject_ToComposite already exists). Can you think
ofa reason why this wasn't done until now? Was it a simple miss or purposefully excluded?
 



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal (9.5) : psql unicode border line styles
Следующее
От: "MauMau"
Дата:
Сообщение: Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]