Josh Berkus <[EMAIL PROTECTED]> writes: > ERROR: unexpected SELECT query in exec_stmt_execsql() plpgsql doesn't think you should execute bare SELECTs, only SELECT INTO. On reflection this seems an overly anal-retentive restriction, since there are cases where one might execute a SELECT for its side effects alone ("SELECT setval()" comes to mind). Jan, do you think there's a good case for refusing plain SELECTs? regards, tom lane
- Re: [SQL] Huh? Mysterious Function Error Tom Lane
- Re: [SQL] Huh? Mysterious Function Error Josh Berkus