From: Neeraj Rai <rneeraj@yahoo.com>
To: pgsql-interfaces@postgresql.org <pgsql-interfaces@postgresql.org>
To: Neeraj Rai <rneeraj@yahoo.com>
Subject: Re: - pgaql binary data date time fornats
Date: Wed, 22 May 2013 09:52:10 -0700 (PDT)
Message-ID: <1369241530.69063.YahooMailAndroidMobile@web164901.mail.bf1.yahoo.com> (raw)
In-Reply-To: <1369185968.87888.YahooMailNeo@web164906.mail.bf1.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-interfaces>
Hi,
I forgot to mention that I'm trying to use binary data format.
I found exanples of sending string fornatted date time. However, i am assuming there are functions to covert unix time to pgtimestamptz and may be faster
Looking for inverse of ts.epoch
I can bypass bitwise fueld issue by assigning to int.
I think Q5 can be ignored. It should work the same for execparams and execprepared.
Thanks
Neeraj
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: rneeraj@yahoo.com, pgsql-interfaces@postgresql.org
Subject: Re: - pgaql binary data date time fornats
In-Reply-To: <1369241530.69063.YahooMailAndroidMobile@web164901.mail.bf1.yahoo.com>
References: <1369185968.87888.YahooMailNeo@web164906.mail.bf1.yahoo.com> <1369241530.69063.YahooMailAndroidMobile@web164901.mail.bf1.yahoo.com>
* 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