Re: storing TZ along timestamps

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: storing TZ along timestamps
Дата
Msg-id 1307037210-sup-221@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: storing TZ along timestamps  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: storing TZ along timestamps  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
Excerpts from Merlin Moncure's message of mié jun 01 21:36:32 -0400 2011:
> On Wed, Jun 1, 2011 at 8:18 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
> > Excerpts from Jeff Davis's message of mié jun 01 19:57:40 -0400 2011:
> >> On Fri, 2011-05-27 at 16:43 -0400, Alvaro Herrera wrote:
> >> > Hi,
> >> >
> >> > One of our customers is interested in being able to store original
> >> > timezone along with a certain timestamp.
> >>
> >> I assume that you're talking about a new data type, not augmenting the
> >> current types, correct?
> >
> > Yes
> 
> why not use a composite type for that?  performance maybe?

To avoid having to implement all the operators and lookup tables (of
timezones) in userland, mainly.  Probably performance would be affected
too, not sure, but that's not the main point.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: SSI predicate locking on heap -- tuple or row?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BLOB support