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 по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] Different BLKSZ
Следующее
От: Bruce Momjian
Дата:
Сообщение: Marc's initial request to start Postgres95 development