pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sebastien FLAESCH <sf@4js.com>
To: pgsql-general@postgresql.org
Subject: Re: INTERVAL SECOND limited to 59 seconds?
Date: Tue, 19 May 2009 11:53:43 +0200
Message-ID: <4A1281A7.7010000@4js.com> (raw)
In-Reply-To: <4A127C2E.1020701@archonet.com>
References: <4A127038.3010103@4js.com>
	<4A12737F.1020207@archonet.com>
	<4A127919.7080105@4js.com>
	<4A127C2E.1020701@archonet.com>

Actually it's not limited to the usage of INTERVAL SECOND, I am writing
a PostgreSQL driver for our 4GL virtual machine...

I need to store all possible Informix INTERVAL types such as:

    INTERVAL MONTH(8) TO MONTH
    INTERVAL DAY(8) TO MINUTE
    INTERVAL SECOND TO FRACTION(5)
    ... etc ...

...

If PostgreSQL is not able to store months > 11, hours > 23 and minutes
or seconds > 59, it looks like I will need to deal with PostgreSQL's

    INTERVAL YEAR TO MONTH
    INTERVAL DAY TO SECOND(5)

... and make conversions, to store all possible Informix INTERVALs...

Seb




view thread (8+ messages)  latest in thread

Message-ID: <4A1281A7.7010000@4js.com>
Permalink:  ../4A1281A7.7010000@4js.com/
Also on:    postgresql.org/message-id/4A1281A7.7010000@4js.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: sf@4js.com, pgsql-general@postgresql.org
  Subject: Re: INTERVAL SECOND limited to 59 seconds?
  In-Reply-To: <4A1281A7.7010000@4js.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