On Wed, 2012-09-19 at 20:36 +0800, Craig Ringer wrote: > On 09/19/2012 02:36 PM, Steve Haresnape wrote: > > > Since some dialects support the idiom and others don't there can't be > > any compelling reason to withhold support. It's really a matter of style. > > For my money the DRY style is better. > > So you're saying that you want the implementation to effectively clone > the aliased SELECT term into the WHERE clause? > > If so, what about functions with side-effects? What about them: if they are put in the where clause by the user - e.g. not from unaliasing? Just bug-traceing will be more difficult from alias obfuscating effects. That's all. -R -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general