[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-sql
Subject:    Re: [SQL] Misnamed field in subquery does not cause error when field name exists in parent query
From:       Rick Innis <rick.innis () gmail ! com>
Date:       2007-12-24 19:25:33
Message-ID: D3AD3174-312F-4D33-B705-41FC255A89E9 () gmail ! com
[Download RAW message or body]


On 22-Dec-07, at 7:14 PM, Michael Glaesemann wrote:

>
>> It may be that SQL is doing exactly as it should, since 'id' is in  
>> scope within the subselect, but  if that's the case it's a nasty  
>> gotcha.
>
> Yes, and yes.

Ow. Thanks for confirming both my suspicions and my fears :-)

R.


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic