Search Postgresql Archives

Re: Reassign value of IN parameter in 9.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gavin Casey <gpjcasey@xxxxxxxxxxxxxx> writes:
> It was actually the reassignment of an IN parameter that I was questioning,

That was changed in 9.0, per the release notes:

	* Allow input parameters to be assigned values within PL/pgSQL
	functions (Steve Prentice)

	Formerly, input parameters were treated as being declared CONST,
	so the function's code could not change their values. This
	restriction has been removed to simplify porting of functions
	from other DBMSes that do not impose the equivalent
	restriction. An input parameter now acts like a local variable
	initialized to the passed-in value.

As for := versus =, plpgsql has always accepted both.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux