Re: [HACKERS] row wise comparison broken

2004-09-10 Thread Bruce Momjian
Added to TODO: * Make row-wise comparisons work per SQL spec --- Tom Lane wrote: > "Merlin Moncure" <[EMAIL PROTECTED]> writes: > > http://archives.postgresql.org/pgsql-performance/2004-07/msg00218.php > > > Still

Re: [HACKERS] row wise comparison broken

2004-09-10 Thread Tom Lane
"Merlin Moncure" <[EMAIL PROTECTED]> writes: > http://archives.postgresql.org/pgsql-performance/2004-07/msg00218.php > Still, I think the current behavior is wrong...and is exactly the kind > of trick question that a sql compliance benchmark might ask. It undoubtedly is wrong. But it has been wr

Re: [HACKERS] row wise comparison broken

2004-09-10 Thread Merlin Moncure
> Yes, I found the following thread started by you in the > pgsql-performance list: > > Subject: [PERFORM] best way to fetch next/prev record based on index > Date: Tue, 27 Jul 2004 06:18:43 -0700 > > > there were some concerns about backwards compatibility. > > IMO 8.0 is a good chance to fix i

Re: [HACKERS] row wise comparison broken

2004-09-09 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > I remember the thread but didn't see a TODO in there at the time. * Make row-wise comparisons work per SQL spec regards, tom lane ---(end of broadcast)--- TIP 7: don't forget to in

Re: [HACKERS] row wise comparison broken

2004-09-09 Thread Bruce Momjian
Tatsuo Ishii wrote: > > > Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > > > I guess this means that PostgreSQL does not fully support SQL's > > > > row-wise comparison. We need to add this to the TODO list? > > > > > > I thought it was there already ... certainly this has been discussed > > > befor

Re: [HACKERS] row wise comparison broken

2004-09-09 Thread Tatsuo Ishii
> > Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > > I guess this means that PostgreSQL does not fully support SQL's > > > row-wise comparison. We need to add this to the TODO list? > > > > I thought it was there already ... certainly this has been discussed > > before ... > > This was discussed (i

Re: [HACKERS] row wise comparison broken

2004-09-09 Thread Merlin Moncure
> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > I guess this means that PostgreSQL does not fully support SQL's > > row-wise comparison. We need to add this to the TODO list? > > I thought it was there already ... certainly this has been discussed > before ... This was discussed (including a possi

Re: [HACKERS] row wise comparison broken

2004-09-09 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: > I guess this means that PostgreSQL does not fully support SQL's > row-wise comparison. We need to add this to the TODO list? I thought it was there already ... certainly this has been discussed before ... regards, tom lane --

[HACKERS] row wise comparison broken

2004-09-09 Thread Tatsuo Ishii
Following result seems strange since it is not what the standard expects: test=# select (1,1) > (0,10); ?column? -- f (1 row) On the other hand I see following in the doc: - 9.17.5. Row-wise Comparison (expression [, expression ...]) operator (