From: Jasen Betts <jasen@xnet.co.nz>
To: pgsql-sql@postgresql.org
Subject: Re: internal format of timstamp?
Date: 29 Dec 2011 20:42:49 GMT
Message-ID: <jdijc9$see$2@reversiblemaps.ath.cx> (raw)
References: <193A440A-E7E7-4772-9C28-684E7FD29511@mac.com>
On 2011-12-29, Lars Gustafsson <gumse@mac.com> wrote:
> Hi,
>
> I am trying to recover a lot of deleted rows from a database ( pg
> 8.2.3 ) , not my database, I promise…..
>> When using the tool pgfsck I get good results, but timestamp is not implemented.
>
> When trying to export as int8 i get fx. 4735129360236469258 representing december 29, 2011, 16:30
>
> But how should I do the conversion from the numeric value to the actual timestamp ?
possibly that's a floating point timestamp try it as float8 instead of
int8.
--
⚂⚃ 100% natural
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jasen@xnet.co.nz
Subject: Re: internal format of timstamp?
In-Reply-To: <jdijc9$see$2@reversiblemaps.ath.cx>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox