Re: [HACKERS] pg_type questions
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] pg_type questions |
Дата | |
Msg-id | 199910170148.VAA17973@candle.pha.pa.us обсуждение исходный текст |
Ответ на | pg_type questions (Peter Eisentraut <peter_e@gmx.net>) |
Список | pgsql-hackers |
> 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
В списке pgsql-hackers по дате отправления: