Re: [HACKERS] Specific names for plpgsql variable-resolution control options?

2009-11-09 Thread Sonu
On Nov 7, 1:21 am, t...@sss.pgh.pa.us (Tom Lane) wrote: > I believe we had consensus that plpgsql should offer the following three > behaviors when a name in a SQL query could refer to either a plpgsql > variable or a column from a table of the query: >         * prefer the plpgsql variable (plpgsq

Re: [HACKERS] Specific names for plpgsql variable-resolution control options?

2009-11-09 Thread Sonu
On Nov 7, 1:21 am, t...@sss.pgh.pa.us (Tom Lane) wrote: > I believe we had consensus that plpgsql should offer the following three > behaviors when a name in a SQL query could refer to either a plpgsql > variable or a column from a table of the query: >         * prefer the plpgsql variable (plpgsq