From: | "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: I must be blind... |
Date: | 2002-06-14 17:23:23 |
Message-ID: | Pine.LNX.4.21.0206141820360.4131-100000@ponder.fairway2k.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Fri, 14 Jun 2002, Nigel J. Andrews wrote:
>
> [snip]
> 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"
>
> [snip]
Ah, it's the perform. I was wondering about the validity of a FOUND test after
discarding the results of a query. If I just write the result into a dummy
variable without using PERFORM it progresses to a different error (but that's
down to a check constraint I haven't changed after changing my mind about the
values in the field).
So I wasn't blind, just dim.
--
Nigel J. Andrews
Director
---
Logictree Systems Limited
Computer Consultants
From | Date | Subject | |
---|---|---|---|
Next Message | Gavin M. Roy | 2002-06-14 17:36:45 | Re: Store / Retrieve image files |
Previous Message | Tom Lane | 2002-06-14 17:14:39 | Re: Is md5 really more secure than crypt? |
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2002-06-14 17:47:40 | Re: I must be blind... |
Previous Message | Tom Lane | 2002-06-14 17:08:16 | Breakage in crypt.c |