pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erwin Ambrosch <naus.office@aon.at>
To: pgsql-admin@postgresql.org
Subject: How dose Postgresql store date internaly?
Date: Tue, 22 Apr 2003 20:36:39 +0200
Message-ID: <200304221836.h3MIaen09045@ns.naus.home> (raw)

Hi,

can one tell me how Postgresql 7.3 stores the type DATE internally. I 
know, I can set the datestyle to get the output in various formats. 
But I would like to know, how a date is sored by the backend.
Maybe in milliseconds?

I think it depends on the datestyle how the date is interpreted for 
inserts. So, dose the datestyle effect both, input and output of 
temporal (except interval) data?

Thanks Erwin




view thread (2+ messages)  latest in thread

Message-ID: <200304221836.h3MIaen09045@ns.naus.home>
Permalink:  ../200304221836.h3MIaen09045@ns.naus.home/
Also on:    postgresql.org/message-id/200304221836.h3MIaen09045@ns.naus.home

 · 

reply

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-admin@postgresql.org
  Cc: naus.office@aon.at
  Subject: Re: How dose Postgresql store date internaly?
  In-Reply-To: <200304221836.h3MIaen09045@ns.naus.home>
  References: <200304221836.h3MIaen09045@ns.naus.home>

* 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