Re: Controlling changes in plpgsql variable resolution - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Controlling changes in plpgsql variable resolution
Date
Msg-id 264673D1-9613-43BF-BB4B-F95B2DEDA283@kineticode.com
Whole thread Raw
In response to Re: Controlling changes in plpgsql variable resolution  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Oct 19, 2009, at 7:54 AM, Stephen Frost wrote:

> 4. Resolve ambiguous names as query column, but throw warning
>
> #4 would be my vote, followed by #3.  To be perfectly honest, I'd be a
> whole lot happier with a pl/pgsql that let me prefix variable names  
> with
> a '$' or similar to get away from this whole nonsense.  I've been very
> tempted to tell everyone I work with to start prefixing their  
> variables
> names with '_' except that it ends up looking just plain ugly.

+1, just what I was thinking.

Best,

David


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Rejecting weak passwords
Next
From: "David E. Wheeler"
Date:
Subject: Re: Controlling changes in plpgsql variable resolution