Re: immutable functions and enumerate type casts in indexes
Вложения
В списке pgsql-general по дате отправления:
| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: immutable functions and enumerate type casts in indexes |
| Дата | |
| Msg-id | 20080902102843.GD3664@svana.org обсуждение исходный текст |
| Ответ на | Re: immutable functions and enumerate type casts in indexes (Edoardo Panfili <edoardo@aspix.it>) |
| Ответы |
Re: immutable functions and enumerate type casts in indexes
|
| Список | pgsql-general |
On Tue, Sep 02, 2008 at 10:53:03AM +0200, Edoardo Panfili wrote:
> But i have a little question about parameters of enum_out.
> Datum enum_out(PG_FUNCTION_ARGS);
> this is a part of my function
> -----------------------------------------------------------
> Datum esterna_nome2(PG_FUNCTION_ARGS){
> int label;
> label = enum_out(fcinfo);
> sprintf(debug,"false enum_out: \"%s\" ",unrolled);
> elog(LOG, debug);
> -----------------------------------------------------------
> but it works only because my enum parameter is the first (and using
> fcinfo is a little obscure).
Look in the fmgr.h header for functions like DirectFunctionCall1 and
various other ways of calling functions.
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера