Re: Need help in transferring FP to Int64 DateTime

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Benson Jin <benson(dot)jin(at)troo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Need help in transferring FP to Int64 DateTime
Date: 2012-06-07 20:14:53
Message-ID: 4FD10BBD.8000706@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/07/2012 08:29 AM, Benson Jin wrote:
> Hi Adrian,
>
> Thanks for the suggestion! We thought about that too, but concerned about the possible performance
penalty trigger based replication would bring. If there is no other
alternative, we will give
your suggestion a try...

AFAIK there is no direct way to do a binary fp timestamp --> integer
timestamp conversion, otherwise pg_upgrade would handle it. To make that
jump it needs to go through a text based representation. That leaves a
dump/restore cycle or non-binary replication.

>
> Cheers,
>
> Benson
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philipp Kraus 2012-06-07 20:20:16 Re: acessibility for tables
Previous Message Adrian Klaver 2012-06-07 20:07:54 Re: Problem while restoring a database from SQL_ASCII to UTF-8