Re: timestamp refactor effort - Mailing list pgsql-hackers

From Warren Turkal
Subject Re: timestamp refactor effort
Date
Msg-id 8c3d85470801130013y7a1614a8lcdfd32b64072dc77@mail.gmail.com
Whole thread Raw
In response to Re: timestamp refactor effort  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: timestamp refactor effort  ("Warren Turkal" <turkal@google.com>)
Re: timestamp refactor effort  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Jan 12, 2008 5:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Hmm, PackedTime seems like a fairly random name for the type --- there's
> not anything particularly "packed" about it IMO.
>
> I'm a bit inclined to suggest just using the Timestamp typedef.
> I guess though that there's some risk of confusion between values
> that actually are "timestamp without time zone" and values that need
> the same representation but aren't actually intended to represent a
> specific point in time.
>
> Maybe "TimeOffset" or "TimeValue" or something like that?

I do agree that Timestamp seems to express the same thing PackedTime
does Should we rename Timestamp to TimeOffset?

> Other than the name game, I think you're headed in the right direction.

Thanks.

I have a question. Are the low level representations of Timestamp and
TimestampTZ the same?

wt


pgsql-hackers by date:

Previous
From: "Gurjeet Singh"
Date:
Subject: ERROR during WAL replay
Next
From: "Warren Turkal"
Date:
Subject: Re: timestamp refactor effort