Re: to_typemod(type_name) information function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: to_typemod(type_name) information function
Дата
Msg-id 7542.1511020204@sss.pgh.pa.us
обсуждение исходный текст
Ответ на to_typemod(type_name) information function  (Sophie Herold <sophie_h@hemio.de>)
Ответы Re: to_typemod(type_name) information function
Список pgsql-hackers
Sophie Herold <sophie_h@hemio.de> writes:
> I need to test a (user) given column type name, with one in the database
> for equality. To this end, I have to do some kind of normalization (e.g.
> 'timestamptz(2)' to 'timestamp (2) with time zone'.)

Perhaps format_type(oid, integer) would help you.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: percentile value check can be slow
Следующее
От: ROS Didier
Дата:
Сообщение: unsubscribe pgsql-hackers@postgresql.org