Re: Reducing data type space usage

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reducing data type space usage
Дата
Msg-id 16069.1158421126@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reducing data type space usage  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Reducing data type space usage  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I like this scheme a lot - maximum bang for buck.

> Is there any chance we can do it transparently, without exposing new 
> types? It is in effect an implementation detail ISTM, and ideally the 
> user would not need to have any knowledge of it.

Well, they'd have to be separate types, but the parser handling of them
would be reasonably transparent I think.  It would work pretty much
exactly like the way that CHAR(N) maps to "bpchar" now --- is that
sufficiently well hidden for your taste?
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Reducing data type space usage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] New XML section for documentation