Oh, thanks, that's right, I see that this function I used before, searches only
in the currently used schema. The usage of parseTypeString is comparable easy,
as well, so based on your hints, I will probably use this function.
Best regards
Carsten Kropf
Am 22.03.2010 um 16:23 schrieb Tom
Carsten Kropf writes:
> basically I looked inside these functions in parse_type.c and did not find an
> "easy to use" application here. So I considered trying to construct the
> required arguments passed to typenameType. However, during the development, I
> found the following function:
> Oid
Thanks a lot,
basically I looked inside these functions in parse_type.c and did not find an
"easy to use" application here. So I considered trying to construct the
required arguments passed to typenameType. However, during the development, I
found the following function:
Oid
TypenameGetTypid(co
Carsten Kropf writes:
> I wanted to ask, if there is a method to determine the oid of a
> certain type using the C backend interface?
Starting from what?
For built-in types it's usual practice to use the #define from
pg_type.h, if there is one. If you have a string name for the type,
there's a