> I'm working on psql printing routines here and want to do alignment by
> datatype. Two questions arose:
>
> 1) What is the difference between/merit of "line" vs. "_line", "cidr" vs.
> "_cidr", etc.? Do I have to worry about them?
_line is for line arrays.
>
> 2) Can I assume that the Oids for the datatypes are always the same
> (barring a developer changing them, of course)? Where are they defined?
> What would be the best way to digest the output of libpq's PQftype()?
> (Perhaps a char * PQftypetext() would be of general use?)
src/include/catalog. There is an unused_oid script in there too.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026