Обсуждение: pgsql: Fix for plpython functions; return true/false for boolean,

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

pgsql: Fix for plpython functions; return true/false for boolean,

От
momjian@postgresql.org (Bruce Momjian)
Дата:
Log Message:
-----------
Fix for plpython functions;  return true/false for boolean,
rather than 1/0.  This helps when creating trigger functions that output
SQL.

Guido Goldstein

Modified Files:
--------------
    pgsql/src/pl/plpython:
        plpython.c (r1.90 -> r1.91)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c.diff?r1=1.90&r2=1.91)

Re: pgsql: Fix for plpython functions; return true/false for boolean,

От
Tom Lane
Дата:
momjian@postgresql.org (Bruce Momjian) writes:
> Fix for plpython functions;  return true/false for boolean,

This patch has broken a majority of the buildfarm.

            regards, tom lane

Re: pgsql: Fix for plpython functions; return

От
Bruce Momjian
Дата:
Tom Lane wrote:
> momjian@postgresql.org (Bruce Momjian) writes:
> > Fix for plpython functions;  return true/false for boolean,
>
> This patch has broken a majority of the buildfarm.

Yea, reverted with comment added.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +