btree_gist regression test busted?

Started by Tom Laneover 24 years ago4 messages
#1Tom Lane
tgl@sss.pgh.pa.us

In current CVS I see a failure in the btree_gist regression test.
It kinda looks like the test data was changed without updating the
expected results, but would you verify this?

regards, tom lane

*** ./expected/btree_gist.out	Wed Aug 22 14:27:54 2001
--- ./results/btree_gist.out	Tue Oct  2 18:48:34 2001
***************
*** 17,23 ****
  select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
   count 
  -------
!      7
  (1 row)
  -- create idx
--- 17,23 ----
  select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
   count 
  -------
!     66
  (1 row)

-- create idx
***************
*** 34,39 ****
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count
-------
! 7
(1 row)

--- 34,39 ----
  select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
   count 
  -------
!     66
  (1 row)
#2Teodor Sigaev
teodor@stack.net
In reply to: Tom Lane (#1)
1 attachment(s)
Re: btree_gist regression test busted?

You are right. Please, apply attached patch or copy result/btree_gist.out
expected/btree_gist.out

Tom Lane wrote:

In current CVS I see a failure in the btree_gist regression test.
It kinda looks like the test data was changed without updating the
expected results, but would you verify this?

regards, tom lane

*** ./expected/btree_gist.out	Wed Aug 22 14:27:54 2001
--- ./results/btree_gist.out	Tue Oct  2 18:48:34 2001
***************
*** 17,23 ****
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!      7
(1 row)
-- create idx
--- 17,23 ----
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!     66
(1 row)

-- create idx
***************
*** 34,39 ****
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count
-------
! 7
(1 row)

--- 34,39 ----
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!     66
(1 row)

--
Teodor Sigaev
teodor@stack.net

Attachments:

patch_btreesql.gzapplication/octet-stream; name=patch_btreesql.gzDownload
#3Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Teodor Sigaev (#2)
Re: btree_gist regression test busted?

Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

You are right. Please, apply attached patch or copy result/btree_gist.out
expected/btree_gist.out

Tom Lane wrote:

In current CVS I see a failure in the btree_gist regression test.
It kinda looks like the test data was changed without updating the
expected results, but would you verify this?

regards, tom lane

*** ./expected/btree_gist.out	Wed Aug 22 14:27:54 2001
--- ./results/btree_gist.out	Tue Oct  2 18:48:34 2001
***************
*** 17,23 ****
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!      7
(1 row)
-- create idx
--- 17,23 ----
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!     66
(1 row)

-- create idx
***************
*** 34,39 ****
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count
-------
! 7
(1 row)

--- 34,39 ----
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!     66
(1 row)

--
Teodor Sigaev
teodor@stack.net

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#4Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Teodor Sigaev (#2)
Re: btree_gist regression test busted?

Appears to have been already applied. Thanks.

You are right. Please, apply attached patch or copy result/btree_gist.out
expected/btree_gist.out

Tom Lane wrote:

In current CVS I see a failure in the btree_gist regression test.
It kinda looks like the test data was changed without updating the
expected results, but would you verify this?

regards, tom lane

*** ./expected/btree_gist.out	Wed Aug 22 14:27:54 2001
--- ./results/btree_gist.out	Tue Oct  2 18:48:34 2001
***************
*** 17,23 ****
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!      7
(1 row)
-- create idx
--- 17,23 ----
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!     66
(1 row)

-- create idx
***************
*** 34,39 ****
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count
-------
! 7
(1 row)

--- 34,39 ----
select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
count 
-------
!     66
(1 row)

--
Teodor Sigaev
teodor@stack.net

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026