Re: I must be blind... - Mailing list pgsql-general

From Tom Lane
Subject Re: I must be blind...
Date
Msg-id 7912.1024078333@sss.pgh.pa.us
Whole thread Raw
In response to I must be blind...  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
List pgsql-general
"Nigel J. Andrews" <nandrews@investsystems.co.uk> writes:
> The error message I'm getting when I try to use it with:
> SELECT new_transaction_fn(9, 444, 4, 'B', now(), 'C');
> is:
> NOTICE:  Error occurred while executing PL/pgSQL function new_transaction_fn
> NOTICE:  line 11 at assignment
> ERROR:  parser: parse error at or near "SELECT"

I'm not seeing the problem either.  Try turning on debug_print_query
and running the function; then look in the postmaster log to see exactly
what got fed down to the main SQL engine by plpgsql.  This might shed
some light.

            regards, tom lane

pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: I must be blind...
Next
From: "Jim Morcombe"
Date:
Subject: Help required with installing postgreSQL on SCO Openserver