Re: Top five challenges

From: silly sad <sad(at)bestmx(dot)ru>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-advocacy <pgsql-advocacy(at)postgresql(dot)org>
Subject: Re: Top five challenges
Date: 2011-03-11 07:04:08
Message-ID: 4D79C968.3080005@bestmx.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-www

On 03/10/11 20:52, Adrian Klaver wrote:
> On 03/10/2011 09:57 AM, silly sad wrote:
>> On 03/10/11 20:48, Adrian Klaver wrote:
>>> On 03/10/2011 09:15 AM, silly sad wrote:
>>>> On 03/10/11 20:07, Adrian Klaver wrote:
>>>>> On 03/10/2011 08:53 AM, silly sad wrote:
>>>>>
>>>>>
>>>>>>>
>>>>>>> Well, 'epoch' clearly is a point in time with the hour being
>>>>>>> midnight at
>>>>>>> GMT, so I don't see a problem with epoch making such an adjustment:
>>>>>>
>>>>>>
>>>>>> great! the flexible epoch!
>>>>>>
>>>>>> when do want to point an epoch to?
>>>>>> just set timezone and enjoy.
>>>>>>
>>>>>
>>>>> I am not sure what your point is.
>>>>
>>>> my point is:
>>>>
>>>> SELECT extract('epoch' from 'epoch'::timestamp);
>>>
>>> Simplest explanation is you are comparing a time zone aware datetime
>>> 'epoch' to an unaware one 'epoch'::timezone. The second one, since it
>>> is not anchored to a time zone is taken to be local time and the result
>>> you get is the interval in seconds between the two.
>>
>> (1) do u really believe in this?
>> (2) why didn't u try the select i wrote?
>
> Yes
> I did.

do u think the 'epoch' of 'epoch' should not be 0 ?

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Ricardo Mendoza 2011-03-11 19:49:39 Re: Proposal for a PostgreSQL Print Magazine
Previous Message Satoshi Nagayasu 2011-03-10 23:10:04 Re: Proposal for a PostgreSQL Print Magazine

Browse pgsql-www by date

  From Date Subject
Next Message Pavel Golub 2011-03-11 08:47:55 Re: [DOCS] Missing Windows help/.chm help files for PG 9.0
Previous Message Nicolas Barbier 2011-03-10 21:38:04 Re: Read uncommitted ever possible?