agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
From: Ron Mayer <rm_pg@cheapcomplexdevices.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ron Mayer <rm_pg@cheapcomplexdevices.com>
Cc: Sebastien FLAESCH <sf@4js.com>
Cc: pgsql-general@postgresql.org
Cc: mmoncure@gmail.com
Subject: Re: INTERVAL SECOND limited to 59 seconds?
Date: Tue, 09 Jun 2009 20:31:47 -0700
Message-ID: <4A2F2923.2010304@cheapcomplexdevices.com> (raw)
In-Reply-To: <5401.1244602759@sss.pgh.pa.us>
References: <4A127038.3010103@4js.com>
	<4A2C0E02.9070908@cheapcomplexdevices.com>
	<17203.1244402910@sss.pgh.pa.us>
	<4A2DABF5.3070906@cheapcomplexdevices.com>
	<208.1244587299@sss.pgh.pa.us>
	<1256.1244588367@sss.pgh.pa.us>
	<4A2F1F3B.1080308@cheapcomplexdevices.com>
	<5401.1244602759@sss.pgh.pa.us>

Tom Lane wrote:
> Ron Mayer <rm_pg@cheapcomplexdevices.com> writes:
>>     regression=# select interval '1 1' hour;
> 
> Hmm, not sure about that one.  We decided a week or two back that we
> don't want the thing discarding higher-order field values, and this
> seems pretty close to that.  As the code is set up (plus my patch)
> I think it's the case that only the rightmost field specification
> of the interval qualifier makes any difference for parsing the value;
> the leftmost field doesn't really affect what we think the constant
> means.  That seems like a nice simple consistency property ...

Sounds good.  I'm happy with it then.



view thread (11+ messages)  latest in thread

Message-ID: <4A2F2923.2010304@cheapcomplexdevices.com>
Permalink:  ../../4A2F2923.2010304@cheapcomplexdevices.com/
Also on:    postgresql.org/message-id/4A2F2923.2010304@cheapcomplexdevices.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: rm_pg@cheapcomplexdevices.com, tgl@sss.pgh.pa.us, sf@4js.com, pgsql-general@postgresql.org, mmoncure@gmail.com
  Subject: Re: INTERVAL SECOND limited to 59 seconds?
  In-Reply-To: <4A2F2923.2010304@cheapcomplexdevices.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox