From: | Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Marko Tiikkaja <marko(at)joh(dot)to>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Joel Jacobson <joel(at)trustly(dot)com> |
Subject: | Re: merging some features from plpgsql2 project |
Date: | 2017-01-09 23:56:48 |
Message-ID: | fd81a506-2953-684d-0490-d02f6a56a79f@BlueTreble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 1/9/17 3:01 AM, Pavel Stehule wrote:
> You are forgot on function paramaters - somebody can use a function
> argument like FOUND, .. So auto variables should to be declared in most
> top namespace.
Right, that's why I said it was an alternative. I agree it would be
better to just have 2 explicit namespaces: the top one being auto
variables and the one below that being function arguments. The namespace
below that would be the top-most *user* block.
Both of the pre-defined namespaces need the ability to change their
name; I don't see any issue with using PRAGMA for that.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2017-01-10 00:03:18 | Re: merging some features from plpgsql2 project |
Previous Message | Jim Nasby | 2017-01-09 23:53:45 | Re: merging some features from plpgsql2 project |