pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Romu Hu <huruomu@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: PostgreSQL mailing lists <pgsql-general@postgresql.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] Need guidance on regression.diffs
Date: Wed, 29 Oct 2014 14:40:14 +0800
Message-ID: <54508BCE.4040104@gmail.com> (raw)
In-Reply-To: <27113.1414553026@sss.pgh.pa.us>
References: <544F602D.5070207@gmail.com>
	<544FF565.9040004@aklaver.com>
	<54504677.6080508@gmail.com>
	<CAB7nPqQV=uygLLfZai4=EXa7CAdRFmuTZ4aZPmTs4b7rgeoUpw@mail.gmail.com>
	<27113.1414553026@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

On 2014/10/29 11:23, Tom Lane wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
>> On Wed, Oct 29, 2014 at 10:44 AM, Romu Hu <huruomu@gmail.com> 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



view thread (6+ messages)

Message-ID: <54508BCE.4040104@gmail.com>
Permalink:  ../54508BCE.4040104@gmail.com/
Also on:    postgresql.org/message-id/54508BCE.4040104@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: huruomu@gmail.com, tgl@sss.pgh.pa.us, michael.paquier@gmail.com, adrian.klaver@aklaver.com, pgsql-general@postgresql.org
  Subject: Re: [BUGS] Need guidance on regression.diffs
  In-Reply-To: <54508BCE.4040104@gmail.com>
  References: <544F602D.5070207@gmail.com> <544FF565.9040004@aklaver.com> <54504677.6080508@gmail.com> <CAB7nPqQV=uygLLfZai4=EXa7CAdRFmuTZ4aZPmTs4b7rgeoUpw@mail.gmail.com> <27113.1414553026@sss.pgh.pa.us> <54508BCE.4040104@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox