Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> First reaction is that it would mean we could never pass them by
> reference. I know PLPerl uses in effect pass by copy, but what does
> PLPgsql do?
It's not really an issue, because plpgsql keeps track of whether
the current value of the variable "belongs" to it or not. Look
at the "freeval" manipulations in pl_exec.c.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2009-07-30 02:32:25|
|Subject: Re: RFD: Don't force plpgsql IN parameters to constant|
|Previous:||From: Tom Lane||Date: 2009-07-30 01:08:47|
|Subject: Re: RFD: Don't force plpgsql IN parameters to constant |