Re: Controlling changes in plpgsql variable resolution

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David E(dot) Wheeler" <david(at)kineticode(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Controlling changes in plpgsql variable resolution
Date: 2009-10-19 17:46:47
Message-ID: 603c8f070910191046w242157cbs90adf16f18865bf5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 19, 2009 at 12:49 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "David E. Wheeler" <david(at)kineticode(dot)com> writes:
>> I'd sure love $, as it's like shell, Perl, and other stuff.
>
> This discussion has gotten utterly off track.  The problem I am trying
> to solve is a non-Oracle-compatible behavior in plpgsql.  I have got
> substantially less than zero interest in proposals that "solve" the
> problem by introducing notations that don't even pretend to be
> compatible.

OK. In that case, it seems like we should offer options #2 and #3
with a GUC or #option to switch between them. Nobody has made an
argument in favor of keeping #1 around. I'm still strongly of the
opinion that #3 (error) should be the default behavior to avoid silent
failures.

...Robert

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message u235sentinel 2009-10-19 17:48:20 Re: postgres 8.3.8 and Solaris 10_x86 64 bit problems?
Previous Message Merlin Moncure 2009-10-19 17:37:25 Re: Controlling changes in plpgsql variable resolution