Input Function (domain_in) Call

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Input Function (domain_in) Call
Дата
Msg-id 20060819061559.GA1404@alamut
обсуждение исходный текст
Ответы Re: Input Function (domain_in) Call
Список pgsql-hackers
Hi,

I was using OidInputFunctionCall() to cast a basic type into a domain
type. But when I saw

/** As above, for I/O functions identified by OID.  These are only to be* used in seldom-executed code paths.  They are
notonly slow but leak* memory.*/
 
Datum
OidInputFunctionCall(Oid functionId, char *str,                    Oid typioparam, int32 typmod)

comment in backend/utils/fmgr/fmgr.c, I started to consider my decision.
Is this the right way to use domain_in() function? Which way would you
suggest? Or is there a totally different way to accomplish basic type to
domain transition?


Regards.


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Windows 2000 Support
Следующее
От: Naz Gassiep
Дата:
Сообщение: Re: pg_dump schema breakup