Re: Storage sizes for dates/times (documentation bug?)

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Storage sizes for dates/times (documentation bug?)
Дата
Msg-id 20080415134305.GA7024@svana.org
обсуждение исходный текст
Ответ на Re: Storage sizes for dates/times (documentation bug?)  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Ответы Re: Storage sizes for dates/times (documentation bug?)  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список pgsql-general
On Tue, Apr 15, 2008 at 02:46:14PM +0200, Karsten Hilbert wrote:
> Yes, I know about tagged types but have shyed away from them
> so far courtesy of them not being adjustable after the fact.

What do you mean by this? Adjustable in what way?

Truly, taggedtypes are a really useful feature but I think the chance
of them being in the main tree approximatly nil, which is enough reason
to stay away from them.

> Should I be using a custom domain for this ?

You just need to store the pair (time,zone), I don't think domains are
flexible enough for that. A complex type maybe (but then you've just
reinvented taggedtypes, inefficiently :) )

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

Вложения

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

Предыдущее
От: Stefan Schwarzer
Дата:
Сообщение: Installation of contrib/tablefunc - problems
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Storage sizes for dates/times (documentation bug?)