From: "Tom Lane" <[EMAIL PROTECTED]>
[snip]
>
> The system type OIDs are stable.  User-defined types would probably have
> a new OID after a dump and reload.
>
> > Or could i do like the ODBC driver, autogenerate a .h out of that table.
>
> I would not recommend relying on compiled-in OID knowledge for any types
> other than the system-defined datatypes.  If you expect to have to deal
> with user-defined types, it's best to cache the results of pg_type
> lookups at the client end.  You need not worry about OIDs changing
> during a single client connection.
>
> regards, tom lane
>

Ok, then i can use static thing for my application (for now atleast).
Thanks..

Magnus


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to