Re: proposal: rpm package for plpgsql_check - Mailing list pgsql-pkg-yum

From Pavel Stehule
Subject Re: proposal: rpm package for plpgsql_check
Date
Msg-id CAFj8pRD=kvEEMmpfJVpau9P2woc6yEeDdidROwvhOnB6-XFTBw@mail.gmail.com
Whole thread Raw
In response to Re: proposal: rpm package for plpgsql_check  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: proposal: rpm package for plpgsql_check
Re: proposal: rpm package for plpgsql_check
List pgsql-pkg-yum



2014-08-27 6:14 GMT+02:00 Craig Ringer <craig@2ndquadrant.com>:
On 08/26/2014 02:43 AM, Pavel Stehule wrote:
> Hi
>
> I prepared package for 9.3 - what I tested - for 9.2 and 9.4 it is
> mechanical work - change in preambule

I still don't see any check to make sure the PostgreSQL being built
against is the right one for the %pgmajorversion specified.

You could test

   pg_config --version

but it'd probably be better to just ensure the correct pg_config gets
used from the target postgresql%{pgmajorversion}-devel by placing

    %{pginstdir}/bin

first on the PATH.

is it better? I explicitly set a PATH

 

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-pkg-yum by date:

Previous
From: daryl herzmann
Date:
Subject: Re: GDAL OGR does not have PostgreSQL support
Next
From: Craig Ringer
Date:
Subject: Re: proposal: rpm package for plpgsql_check