Re: interperting type oid in C code - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: interperting type oid in C code
Date
Msg-id 20151019194040.GO3391@alvherre.pgsql
Whole thread Raw
In response to Re: interperting type oid in C code  (Ken Been <kbbeen@gmail.com>)
Responses Re: interperting type oid in C code  (Ken Been <kbbeen@gmail.com>)
List pgsql-general
Ken Been wrote:
> Those are more complicated, and it's not obvious to me how to use them.  I
> really think that all I need is something as simple as "if (my_oid ==
> INT4OID) {...}".  Is there any reason why I shouldn't just do that?

I don't know.  I was thinking that you might want to handle a larger set
of type OIDs.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-general by date:

Previous
From: Ken Been
Date:
Subject: Re: interperting type oid in C code
Next
From: Ken Been
Date:
Subject: Re: interperting type oid in C code