Re: I must be blind...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: I must be blind...
Date: 2002-06-14 18:12:13
Message-ID: 7912.1024078333@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2002-06-14 18:43:06 Re: Store / Retrieve image files
Previous Message Joe Conway 2002-06-14 17:47:40 Re: I must be blind...

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Mascari 2002-06-14 18:57:59 Re: Non-standard feature request
Previous Message Joe Conway 2002-06-14 17:47:40 Re: I must be blind...