Huh? Mysterious Function Error - Mailing list pgsql-sql

From Josh Berkus
Subject Huh? Mysterious Function Error
Date
Msg-id 3A92A15E.1E7DF00D@agliodbs.com
Whole thread Raw
Responses Re: Huh? Mysterious Function Error  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Huh? Mysterious Function Error  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
Tom, Stephan, Jan, Etc.
Can you help me with this one?  I can't figure out what is meant by
this error message:

I have a long, complicated PL/pgSQL function called
fn_modify_candidates(INT4,INT4,INT4).

When I call:
SELECT fn_modify_candidate(1004,5,278417036)

I get:
ERROR:  unexpected SELECT query in exec_stmt_execsql()

Help?
                -Josh Berkus

-- 
______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete
informationtechnology      josh@agliodbs.com   and data management solutions       (415) 565-7293  for law firms, small
businesses      fax  621-2533   and non-profit organizations.       San Francisco
 


pgsql-sql by date:

Previous
From: "Diehl, Jeffrey"
Date:
Subject: RE: handling of database size exceeding physical disk space
Next
From: Tom Lane
Date:
Subject: Re: now() with microsecond granulity needed