Re: parse error in function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Uros <uros(at)sir-mag(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: parse error in function
Date: 2004-01-15 15:57:04
Message-ID: 22429.1074182224@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Uros <uros(at)sir-mag(dot)com> writes:
> I have problem with my function and I can find what's wrong.

Don't use plpgsql variable names that conflict with field names of the
tables you are trying to access in the function.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-01-15 16:01:27 Re: parse error in function
Previous Message Victor Spång Arthursson 2004-01-15 15:56:48 Foreign key question