plpgsql: 'SELECT * FROM tbl'

Started by Turbo Fredrikssonover 24 years ago1 messages
#1Turbo Fredriksson
turbo@bayour.com

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@tripnet.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]