Volkan YAZICI <[EMAIL PROTECTED]> writes:
> I was using OidInputFunctionCall() to cast a basic type into a domain
> type.
> Is this the right way to use domain_in() function?

If you're doing it more than about once per SQL command, you should find
a place to cache the fmgr lookup info and use InputFunctionCall instead.
Look at the standard PLs for examples.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to