Thread: plpgsql: 'SELECT * FROM tbl'

plpgsql: 'SELECT * FROM tbl'

From
Turbo Fredriksson
Date:
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
aboutwho 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]