Thread: Fix for segfault in pgmodule.c: pgquery_dictresult()

Fix for segfault in pgmodule.c: pgquery_dictresult()

From
"J. R. Nield"
Date:
This is a quick patch to fix a crash in pgquery_dictresult() introduced
recently. I just ran into it while running a set of python test scripts,
and I'm not sure who the normal maintainer is for interfaces/python.

Regards,
  John Nield



--
J. R. Nield
jrnield@usol.com



Attachment

Re: Fix for segfault in pgmodule.c: pgquery_dictresult()

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


J. R. Nield wrote:
>
> This is a quick patch to fix a crash in pgquery_dictresult() introduced
> recently. I just ran into it while running a set of python test scripts,
> and I'm not sure who the normal maintainer is for interfaces/python.
>
> Regards,
>   John Nield
>
>
>
> --
> J. R. Nield
> jrnield@usol.com
>
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: Fix for segfault in pgmodule.c: pgquery_dictresult()

From
Bruce Momjian
Date:
Patch applied.  Thanks.

---------------------------------------------------------------------------


J. R. Nield wrote:
>
> This is a quick patch to fix a crash in pgquery_dictresult() introduced
> recently. I just ran into it while running a set of python test scripts,
> and I'm not sure who the normal maintainer is for interfaces/python.
>
> Regards,
>   John Nield
>
>
>
> --
> J. R. Nield
> jrnield@usol.com
>
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073