Re: Rethinking user-defined-typmod before it's too late

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rethinking user-defined-typmod before it's too late
Дата
Msg-id 6271.1181928585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Rethinking user-defined-typmod before it's too late  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: Rethinking user-defined-typmod before it's too late  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
>> I propose changing the typmodin signature to "typmodin(cstring[]) returns
>> int4", that is, the typmods will be passed as strings not integers.

> And modify ArrayGetTypmods() to ArrayGetIntegerTypmods()

Right --- the decoding work will only have to happen in one place for
our existing uses.

Is it worth providing an ArrayGetStringTypmods in core, when it won't
be used by any existing core datatypes?
        regards, tom lane


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Performance Monitoring
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Rethinking user-defined-typmod before it's too late