Обсуждение: Patch to make int8 values work inside plpython functions
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
Вложения
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
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