Re: plpgsql problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lehel Gyuro <lehel(at)bin(dot)hu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: plpgsql problem
Date: 2001-04-18 04:30:59
Message-ID: 7993.987568259@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Lehel Gyuro <lehel(at)bin(dot)hu> writes:
> -- the same applies to inline queries too. if issued with execute
> -- everything is fine, but if the query has more than one arguments
> -- the compiler dismisses all, except the last one

This is more than slightly hard to believe. There are thousands of
people using plpgsql, and you're the first to notice that it loses all
but the last WHERE qualifier? Nyet. There's more to it than that,
surely.

Perhaps you could provide a *complete* example? The text of the
function is far from enough to let someone else try to reproduce
your problem. We need a script that creates all the referenced
tables, and puts sample data in them, and creates and invokes the
function with appropriate test data. And perhaps you could tell us
what output you got and what you expected to get, and why that led
you to conclude that there is a failure of the above-claimed form.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Theo Kramer 2001-04-18 04:34:54 Re: timeout on lock feature
Previous Message Alex Pilosov 2001-04-18 03:36:00 [BUG] views and functions on relations