Re: PL/pgSQL bug? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PL/pgSQL bug?
Date
Msg-id 12398.997452414@sss.pgh.pa.us
Whole thread Raw
In response to Re: PL/pgSQL bug?  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
Jan Wieck <JanWieck@Yahoo.com> writes:
>     If  that's  the  case,  it must be a general problem with SPI
>     that'll apply to any procedural  language  as  well  as  user
>     defined C function using SPI.

Not necessarily.  It looks to me like someone is forgetting to do a
CommandCounterIncrement() between plpgsql statements.  Is this something
that plpgsql should do, or should SPI do it?  Not clear.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Vague idea for allowing per-column locale
Next
From: Peter Eisentraut
Date:
Subject: Re: Vague idea for allowing per-column locale