Re: Can a function be parameter in PL/PGSQL function?
От
Merlin Moncure
Тема
Re: Can a function be parameter in PL/PGSQL function?
Дата
Msg-id
b42b73150701310603q5d58f270n7b41a1e651f4dd00@mail.gmail.com
Ответ на
Can a function be parameter in PL/PGSQL function? (Karen Hill)
Список
Дерево обсуждения
Can a function be parameter in PL/PGSQL function? "Karen Hill" <karen_hill22@yahoo.com>
Re: Can a function be parameter in PL/PGSQL function? Jeff Davis <pgsql@j-davis.com>
Re: Can a function be parameter in PL/PGSQL function? elein <elein@varlena.com>
Re: Can a function be parameter in PL/PGSQL function? "Merlin Moncure" <mmoncure@gmail.com>
Re: Can a function be parameter in PL/PGSQL function? "Merlin Moncure" <mmoncure@gmail.com>
On 30 Jan 2007 12:32:04 -0800, Karen Hill wrote: > Is it possible to have a pl/pgsql function take another pl/pgsql > function as one of the parameters? not exactly. you can take a string and execute it via dynamic sql, but this is going to cause problems with record and array types and generally just uglify your code. If you want to implement a callback, you can improvise one if you are willing to cut a little C: http://archives.postgresql.org/pgsql-performance/2005-11/msg00012.php I've followed this mechanism, and it works... merlin
В списке pgsql-general по дате отправления
От: Merlin Moncure
Дата: