Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Misnamed field in subquery does not cause error when field name exists in parent query




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.




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group