On Sun, Jul 09, 2006 at 09:03:21PM +0300, Tzahi Fadida wrote:
> How do i get a char * type from a type Oid. i.e. 
> getStringTypeFromOid(INT4OID) 
> will return "int4".

Server-side or client-side?  In the backend I think you could use
format_type_be() or format_type_with_typemod(), both declared in
utils/builtins.h and defined in src/backend/utils/adt/format_type.c.

Michael Fuhr

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to