Re: Per-column collation, work in progress

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Per-column collation, work in progress
Дата
Msg-id 5685.1287692932@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Per-column collation, work in progress  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Per-column collation, work in progress  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> We already have TypeName as a structure that contains type and typmod
> (and collation, in my patch).  We could make that a primnode instead of
> a parsenode, and use it in more places, or we could make a new leaner
> structure that only contains the numeric info.

TypeName per se is completely inappropriate for use beyond the first
stage of parsing, because it requires catalog lookups to make any sense
of.  I think the post-parsing representation should still start with a
type OID.  I can agree with replacing typmod with a struct, though.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_rawdump
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Per-column collation, work in progress