Re: Extracting metadata about attributes from catalog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Extracting metadata about attributes from catalog
Дата
Msg-id 10541.993394747@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: Extracting metadata about attributes from catalog  ("Bernardo Pons" <bernardo@atlas-iap.es>)
Список pgsql-hackers
"Bernardo Pons" <bernardo@atlas-iap.es> writes:
>> In 7.1, "format_type(typeoid, typmod)" is what produces the type
>> displays seen in psql.  This may or may not be exactly what you want,
>> but that's how the knowledge of typmod encoding is exported at the
>> moment.

> There's 957 functions in psql (output of \df).

> Would I be so lucky that none of these functions is the one that you
> suggested? :-(

regression=# \df format_type         List of functionsResult |  Function   |  Arguments
--------+-------------+--------------text   | format_type | oid, integer
(1 row)

I did say 7.1, however.  What version are you using?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: RE: Extracting metadata about attributes from catalog
Следующее
От: Tom Lane
Дата:
Сообщение: Re: stuck spin lock with many concurrent users