Re: Function

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Function
Дата
Msg-id 443F342B-AF24-4CD3-8CF2-D1D9BAE43933@pgedit.com
обсуждение исходный текст
Ответ на Function  (bill house <wchouse@bellsouth.net>)
Список 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
columnreferences 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:

http://www.postgresql.org/docs/8.3/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN




John DeSoi, Ph.D.





В списке pgsql-novice по дате отправления:

Предыдущее
От: dipti shah
Дата:
Сообщение: Re: [GENERAL] Not able to access schema functions and table...
Следующее
От: bill house
Дата:
Сообщение: Upgrading to 8.4