Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Whjgo-0003U2-OT for pgsql-bugs@arkaria.postgresql.org; Tue, 06 May 2014 18:02:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Whjgo-0003BU-5b for pgsql-bugs@arkaria.postgresql.org; Tue, 06 May 2014 18:02:02 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Whjgn-0003BN-1X for pgsql-bugs@postgresql.org; Tue, 06 May 2014 18:02:01 +0000 Received: from mail-pd0-f175.google.com ([209.85.192.175]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Whjgj-0005Aw-Po for pgsql-bugs@postgresql.org; Tue, 06 May 2014 18:02:00 +0000 Received: by mail-pd0-f175.google.com with SMTP id x10so2052348pdj.34 for ; Tue, 06 May 2014 11:01:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version; bh=dgnKSNttn+0QmF1C//MXlCNF2w4DFzt+THhUp2NccWc=; b=G78zd/Tn8dGKMdX78mhfwZnJyQ5vXEV5sqk0gkXPtVVQI2OwI632BEM8a3W29LDIzI 6oVxv5VDhehjwnaTrNPePxIfHcnES3Wt5t58V2VzthNLeEsGacaoiSXPDWMu56Zo1DZg Mnnw66ticwj98PtgVzkat8ofYvuH367ryCn7hOZbcS5p/sILHCfSQw5RFLgZi/940aWg gERCS7xgoCPjk43VK5LqMRA9IIg/yafObY2TUeobNq2zdjzxki/CuQpsz2vutysdYO5u MUJMHBASo/b6Fos/TR2lFZuPBBZ5a5RiqpdNZ2vsoGqOMmm/92JHfkSfVbAcrxle5CvS dkxg== X-Gm-Message-State: ALoCoQmYR5kKQVhlSo056qZrGlWaC+KEuFtjpwkyVDtOLPxbV6g9LkfM4hDcV9gwOTzbPrlIx08i X-Received: by 10.66.161.231 with SMTP id xv7mr8881962pab.7.1399399315883; Tue, 06 May 2014 11:01:55 -0700 (PDT) Received: from ?IPv6:::1? ([2600:3c01::f03c:91ff:fe93:2ae4]) by mx.google.com with ESMTPSA id vo1sm102154061pab.32.2014.05.06.11.01.54 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 06 May 2014 11:01:54 -0700 (PDT) Message-ID: <1399399313.27807.28.camel@sussancws0025> Subject: regression failure on master with --disable-integer-datetimes From: Jeff Davis To: pgsql-bugs@postgresql.org Cc: Noah Misch Date: Tue, 06 May 2014 11:01:53 -0700 Content-Type: multipart/mixed; boundary="=-3KsVo9jnMp/H0D859/70" X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --=-3KsVo9jnMp/H0D859/70 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Introduced in commit 4318daecc959886d001a6e79c6ea853e8b1dfb4b. Attached regression failure and patch. It looks like we're no longer running floating point timestamps on the buildfarm? To make the output for float/integer timestamps the same, we either need to remove the fractional seconds or reduce the number of hours. It looks like the test is for maximum output length of an interval, so it seems better to reduce the number of hours to one million, which is what my patch does. It still loses 3 characters of output length, which is a bit unfortunate given the purpose of the test, but it's better than losing 7. I don't have a better idea. Regards, Jeff Davis --=-3KsVo9jnMp/H0D859/70 Content-Disposition: attachment; filename="regression.diffs" Content-Type: text/x-patch; name="regression.diffs"; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit *** /home/jdavis/wd/git/postgresql/src/test/regress/expected/interval.out 2014-04-29 16:12:58.207041718 -0700 --- /home/jdavis/wd/git/postgresql/src/test/regress/results/interval.out 2014-05-06 10:04:20.052642703 -0700 *************** *** 308,316 **** -- test long interval output select '100000000y 10mon -1000000000d -1000000000h -10min -10.000001s ago'::interval; ! interval ! ------------------------------------------------------------------------------------------- ! @ 100000000 years 10 mons -1000000000 days -1000000000 hours -10 mins -10.000001 secs ago (1 row) -- test justify_hours() and justify_days() --- 308,316 ---- -- test long interval output select '100000000y 10mon -1000000000d -1000000000h -10min -10.000001s ago'::interval; ! interval ! ------------------------------------------------------------------------------------ ! @ 100000000 years 10 mons -1000000000 days -1000000000 hours -10 mins -10 secs ago (1 row) -- test justify_hours() and justify_days() ====================================================================== --=-3KsVo9jnMp/H0D859/70 Content-Disposition: attachment; filename="float-test.patch" Content-Type: text/x-patch; name="float-test.patch"; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit *** a/src/test/regress/expected/interval.out --- b/src/test/regress/expected/interval.out *************** *** 307,316 **** select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 (1 row) -- test long interval output ! select '100000000y 10mon -1000000000d -1000000000h -10min -10.000001s ago'::interval; ! interval ! ------------------------------------------------------------------------------------------- ! @ 100000000 years 10 mons -1000000000 days -1000000000 hours -10 mins -10.000001 secs ago (1 row) -- test justify_hours() and justify_days() --- 307,316 ---- (1 row) -- test long interval output ! select '100000000y 10mon -1000000000d -1000000h -10min -10.000001s ago'::interval; ! interval ! ---------------------------------------------------------------------------------------- ! @ 100000000 years 10 mons -1000000000 days -1000000 hours -10 mins -10.000001 secs ago (1 row) -- test justify_hours() and justify_days() *** a/src/test/regress/sql/interval.sql --- b/src/test/regress/sql/interval.sql *************** *** 109,115 **** select avg(f1) from interval_tbl; select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval; -- test long interval output ! select '100000000y 10mon -1000000000d -1000000000h -10min -10.000001s ago'::interval; -- test justify_hours() and justify_days() --- 109,115 ---- select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval; -- test long interval output ! select '100000000y 10mon -1000000000d -1000000h -10min -10.000001s ago'::interval; -- test justify_hours() and justify_days() --=-3KsVo9jnMp/H0D859/70 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs --=-3KsVo9jnMp/H0D859/70--