Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XjMvn-0002vw-PR for pgsql-general@arkaria.postgresql.org; Wed, 29 Oct 2014 06:40:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XjMvn-0005nJ-5j for pgsql-general@arkaria.postgresql.org; Wed, 29 Oct 2014 06:40:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XjMvk-0005jh-JT; Wed, 29 Oct 2014 06:40:28 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XjMvh-0007Ow-A3; Wed, 29 Oct 2014 06:40:26 +0000 Received: by mail-pa0-f53.google.com with SMTP id kx10so2483146pab.26 for ; Tue, 28 Oct 2014 23:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=jrqMDU11RfXfQta9TJbfQwwdBq9EglqDpPHl1FP4mQ0=; b=YfDBKZCRv47k/VltnZohYGuSoGmOh3B4Qve6Zzncyhg8sojOjmlKqFXZuynI90gEfI XWAz6PrgA0nLkXYIcf+qtsjTwDiEH5ufjbMUAmJQCMQaB4bOq8NvpaI0b/6uqyQihF83 uRFCXBUMTwbtL9SeL+eVPqLBPrHJKz1gRT2Y/1ZEY2/QO4dt19hiu4+S3AdrGDHgzM3c Th6q37PjWwZM0u33M1YQwOcXfuePGWtdQhVMvbzmsx05TgqTL+pb2oE0PdAxIdUYdOSt xVzCl43rAZH7QPMSsXNLXvCaTVPNqwY1D/XDwqNCFLJMXsGPXtZ6wRo+o0PV9t5Dl7j4 ud5g== X-Received: by 10.70.36.76 with SMTP id o12mr8495978pdj.5.1414564823766; Tue, 28 Oct 2014 23:40:23 -0700 (PDT) Received: from [10.35.51.149] ([218.5.81.133]) by mx.google.com with ESMTPSA id ql6sm3343524pbb.39.2014.10.28.23.40.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Oct 2014 23:40:23 -0700 (PDT) Message-ID: <54508BCE.4040104@gmail.com> Date: Wed, 29 Oct 2014 14:40:14 +0800 From: Romu Hu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Tom Lane , Michael Paquier CC: Adrian Klaver , PostgreSQL mailing lists , pgsql-bugs@postgresql.org Subject: Re: [BUGS] Need guidance on regression.diffs References: <544F602D.5070207@gmail.com> <544FF565.9040004@aklaver.com> <54504677.6080508@gmail.com> <27113.1414553026@sss.pgh.pa.us> In-Reply-To: <27113.1414553026@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 2014/10/29 11:23, Tom Lane wrote: > Michael Paquier writes: >> On Wed, Oct 29, 2014 at 10:44 AM, Romu Hu wrote: >>> I ran the test against an existing installation (redhat enterprise linux >>> software collection postgresql92). The postgres server and the tests are >>> from the same source package. >> Well, your diffs are telling us the contrary. > Yeah, this is definitely some kind of version skew problem. > >> So you may be indeed running the tests on a 9.2 server, but what is >> sure is that you are comparing the results with the regression output >> of a 9.4 server. > No, that's not quite right I think. I can't find anything in a quick > look that is clearly different server behavior. There are a bunch of > differences in output of \d commands, and a bunch of different formatting > of query results containing newlines, but both of those things are on > psql's head not the server's. The psql being used is clearly older than > 9.0, which is where the display of newlines changed. I'd bet on it being > the 8.4.something version shipped by Red Hat with their regular RHEL6 > postgresql package. You are right, the test was using /usr/bin/psql from RHEL6 postgresql-8.4.20 package, hence the diffs. I removed postgresql-8.4.20 and reran the regression tests from the postgresql92 software collection, it failed the run because it couldn't find /usr/bin/psql, I linked /opt/rh/postgresql92/root/usr/bin/psql to /usr/bin/psql and all regression passed. Thanks Romu > I managed to leave Red Hat before they shipped any of those "software > collections" packages, but when I was there I was pretty unimpressed > with that packaging technology. You have to use the packages just so > or things fall apart, because for example their programs aren't in the > system default PATH. I think something like that happened here: > somehow or other the test process is invoking /usr/bin/psql and not > the psql included in the software-collections PG package. > > Take a close re-read of the documentation for the software-collections > PG package and see if you missed a setup setup (scenable or whatever it > was called), or maybe they have a special recipe for running the > regression tests. If you can't find anything, file a bug with Red Hat > (not us), to the effect that their regression test packaging is either > broken or underdocumented. > > regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general