plpgsql: 'SELECT * FROM tbl'

From: Turbo Fredriksson <turbo(at)bayour(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: plpgsql: 'SELECT * FROM tbl'
Date: 2001-07-26 10:46:16
Message-ID: 877kwwnf2f.fsf@papadoc.bayour.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

If I do something like that, psql claims:

ERROR: unexpected SELECT query in exec_stmt_execsql()

why? How do I do this?

--
Turbo __ _ Debian GNU Unix _IS_ user friendly - it's just
^^^^^ / /(_)_ __ _ ___ __ selective about who its friends are
/ / | | '_ \| | | \ \/ / Debian Certified Linux Developer
_ /// / /__| | | | | |_| |> < Turbo Fredriksson turbo(at)tripnet(dot)se
\\\/ \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden

iodine NORAD Saddam Hussein Ft. Bragg colonel assassination Honduras
$400 million in gold bullion Nazi killed Rule Psix World Trade Center
radar plutonium explosion
[See http://www.aclu.org/echelonwatch/index.html for more about this]

Browse pgsql-hackers by date

  From Date Subject
Next Message mlw 2001-07-26 12:04:36 Release of 7.2
Previous Message Turbo Fredriksson 2001-07-26 10:16:52 Re: Re: plpgsql: Debug function?