Re: [HACKERS] bug or change in functionality in 7.2?

From: F Harvell <fharvell(at)fts(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: F Harvell <fharvell(at)fts(dot)net>, Barry Lind <barry(at)xythos(dot)com>, pgsql-general(at)postgresql(dot)org, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] bug or change in functionality in 7.2?
Date: 2001-11-19 18:00:11
Message-ID: 200111191800.fAJI0Ct19444@odin.fts.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Mon, 19 Nov 2001 11:24:08 EST, Tom Lane wrote:
> F Harvell <fharvell(at)fts(dot)net> writes:
> > In my experiences with other databases, the notations indicated in
> > the Date/Darwin book do indeed work whereas the PostgreSQL notation
> > (with the closing single quote following the start to end
> > specification) do not work.
>
> In current sources:
>
> regression=# select INTERVAL '2:12:35' HOUR TO SECOND;
> interval
> ----------
> 02:12:35
> (1 row)
>
> regression=# select INTERVAL '2:12:35 HOUR TO SECOND';
> ERROR: Bad interval external representation '2:12:35 HOUR TO SECOND'
> regression=#
>
> Looks like Lockhart agrees with you ;-)
>

If the above is true (i.e., errors on the second interval literal), it
should probably be mentioned in the release notes (HISTORY file?).
While I eagerly anticipate the change and agree with it, it will break
a lot of my current code. I think this is (potentially) correct,
however, it should be told to people who are using interval literals
and anticipating to make the upgrade to 7.2.

--
Mr. F Harvell Phone: +1.407.673.2529
FTS International Data Systems, Inc. Cell: +1.407.467.1919
7457 Aloma Ave, Suite 302 Fax: +1.407.673.4472
Winter Park, FL 32792 mailto:fharvell(at)fts(dot)net

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Neal Lindsay 2001-11-19 18:27:34 A good way to test for group membership?
Previous Message Peter Pilsl 2001-11-19 17:37:24 cant alter/create tables via odbc

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-19 18:28:31 Re: OCTET_LENGTH is wrong
Previous Message Stephan Szabo 2001-11-19 17:59:33 Re: Further open item (Was: Status of 7.2)