Обсуждение: Patch to make int8 values work inside plpython functions

Поиск
Список
Период
Сортировка

Patch to make int8 values work inside plpython functions

От
Bradley McLean
Дата:
Using strtol() on int8 values (input parameters or result sets) in
plpython would result in numeric overflows causing the backend to
terminate abruptly.

This patch fixes it.

-Brad

Вложения

Re: Patch to make int8 values work inside plpython functions

От
Bruce Momjian
Дата:
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.

> Using strtol() on int8 values (input parameters or result sets) in
> plpython would result in numeric overflows causing the backend to
> terminate abruptly.
>
> This patch fixes it.
>
> -Brad

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: Patch to make int8 values work inside plpython functions

От
Bruce Momjian
Дата:
Patch applied.  Thanks.

> Using strtol() on int8 values (input parameters or result sets) in
> plpython would result in numeric overflows causing the backend to
> terminate abruptly.
>
> This patch fixes it.
>
> -Brad

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026