Re: Need help with INOUT mis-understanding

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Need help with INOUT mis-understanding
Date: 2005-10-26 21:46:02
Message-ID: 11907.1130363162@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com> writes:
> So what you are saying is INOUT params are NOT constants and you can
> modify them in the function body?

If you couldn't modify them, there would be no way to return a new
value (ie, anything but the passed-in value), so it'd be pretty broken
IMHO ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Qingqing Zhou 2005-10-26 21:52:18 Re: Win32 libpq and ecpg thread safety
Previous Message Tony Caduto 2005-10-26 21:35:15 Re: Need help with INOUT mis-understanding