On 07.10.2010 16:10, Stephen Frost wrote:
> Also, even if you can't create functions (due to lack of create
> privileges on any schema), you could use DO clauses now.
There's no way to shoehorn a DO clause into a SELECT, you can't do:
SELECT data FROM view WHERE (DO $$ RAISE NOTICE argument; $$) = 1
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com