Re: BUG #13586: Repository/Distribution issues

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Dmitry Shvedov <dmt(dot)shvedov(at)gmail(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13586: Repository/Distribution issues
Date: 2015-08-26 16:00:05
Message-ID: CAKFQuwbyd6jKj-r_Rw8h7bOCnRJ-WK796LWPn34dCmNgSUTeig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Aug 25, 2015 at 11:48 PM, Dmitry Shvedov <dmt(dot)shvedov(at)gmail(dot)com>
wrote:

> Michael, thanks for your response.
> You're right about the PATH. However, it's a fresh linux install and
> postgres has not been installed here before. What happened was that the
> installation from this repo:
> deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
> did not add the executable to the PATH automatically as any installation
> on Debian derivatives always does. Perhaps there's a valid reason for this,
> but it's not a behavior that I expected. If it makes sense maybe the
> installation packages should be modified to do that? Thanks.
>
> On Tue, Aug 25, 2015 at 8:39 PM, Michael Paquier <
> michael(dot)paquier(at)gmail(dot)com> wrote:
>
>> On Wed, Aug 26, 2015 at 1:06 AM, <dmt(dot)shvedov(at)gmail(dot)com> wrote:
>> > Operating system: Linux Mint
>> > After installing all packages, cannot launch postgres:
>> >
>> > $ postgres -D /usr/local/pgsql/data
>> > The program 'postgres' is currently not installed. You can install it by
>> > typing:
>> > sudo apt-get install postgres-xc
>> > [...]
>> > I assume I need postgres-xc, but that package is not in your repo, I
>> only
>> > have the one from Ubuntu - for older version of Postgres.
>>
>
​I am reasonably certain that the reason "postgres" is not on the path is
because the package supplies various "cluster-managing" versions (wrappers)
of (over) the executables that are intended to be run instead. If you
choose to forgo those wrappers and do things directly you are expected to
be able to manage the necessary changes to make that work.

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message kristoffer.gustafsson 2015-08-26 19:50:31 BUG #13592: Optimizer throws out join constraint causing incorrect result
Previous Message d.stelzner 2015-08-26 10:36:44 BUG #13591: Boolean type presented as varchar by ODBC