Lists: | pgsql-generalpgsql-hackers |
---|
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 |
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
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | F Harvell <fharvell(at)fts(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 21:06:39 |
Message-ID: | 200111192106.fAJL6dB22125@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general pgsql-hackers |
> 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.
Can I have some text for HISTORY?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(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 21:39:44 |
Message-ID: | 22942.1006205984@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general pgsql-hackers |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> If the above is true (i.e., errors on the second interval literal), it
>> should probably be mentioned in the release notes (HISTORY file?).
> Can I have some text for HISTORY?
Thomas would be the authority, but AFAIK this is new stuff; it doesn't
break anything that worked before.
regards, tom lane
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
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 21:41:11 |
Message-ID: | 200111192141.fAJLfBd25062@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general pgsql-hackers |
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> >> If the above is true (i.e., errors on the second interval literal), it
> >> should probably be mentioned in the release notes (HISTORY file?).
>
> > Can I have some text for HISTORY?
>
> Thomas would be the authority, but AFAIK this is new stuff; it doesn't
> break anything that worked before.
Oh, OK.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026