From: | John DeSoi <desoi(at)pgedit(dot)com> |
---|---|
To: | bill house <wchouse(at)bellsouth(dot)net> |
Cc: | psql-novice Novice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Function |
Date: | 2010-02-20 14:55:52 |
Message-ID: | 443F342B-AF24-4CD3-8CF2-D1D9BAE43933@pgedit.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Feb 20, 2010, at 9:33 AM, bill house wrote:
>> You can't build SQL statements like this. If you want to build a statement dynamically (where the table name and column references are not known when the function is defined) you need to use EXECUTE. See
>> http://www.postgresql.org/docs/8.4/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN
>>
> Thanks for the help. Having reread that part of the manual, I see what you are talking about.
>
> I am running 8.3, I see all of the documentary references are referring to 8.4.
>
> My attempt to upgrade to 8.4 did not go smoothly. Is this the right forum to ask about this issue?
Yes, this is the right forum. Be sure to reply-all so that your responses go back to the list.
The 8.3 documentation is online as well:
John DeSoi, Ph.D.
From | Date | Subject | |
---|---|---|---|
Next Message | bill house | 2010-02-22 02:15:54 | Upgrading to 8.4 |
Previous Message | Richard Huxton | 2010-02-19 08:43:43 | Re: Not able to access schema functions and table... |