X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 765A14758C9 for ; Tue, 22 Apr 2003 14:36:42 -0400 (EDT) Received: from ns.naus.home (M1244P028.adsl.highway.telekom.at [80.121.27.124]) by postgresql.org (Postfix) with ESMTP id 1A20D474E42 for ; Tue, 22 Apr 2003 14:36:41 -0400 (EDT) Received: from there (erwin@[192.168.2.102]) by ns.naus.home (8.11.2/8.11.2) with SMTP id h3MIaen09045 for ; Tue, 22 Apr 2003 20:36:40 +0200 Message-Id: <200304221836.h3MIaen09045@ns.naus.home> Content-Type: text/plain; charset="iso-8859-15" From: Erwin Ambrosch Reply-To: naus.office@aon.at Organization: n.a.s To: pgsql-admin@postgresql.org Subject: How dose Postgresql store date internaly? Date: Tue, 22 Apr 2003 20:36:39 +0200 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-2.2 required=5.0 tests=BAYES_20,MSG_ID_ADDED_BY_MTA_3 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/297 X-Sequence-Number: 8452 Hi, can one tell me how Postgresql 7.3 stores the type DATE internally. I=20 know, I can set the datestyle to get the output in various formats.=20 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=20 inserts. So, dose the datestyle effect both, input and output of=20 temporal (except interval) data? Thanks Erwin