Re: pg_upgrade + Ubuntu

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_upgrade + Ubuntu
Date: 2015-07-10 20:42:13
Message-ID: 55A02E25.4040102@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 7/10/15 2:20 PM, Mike Blackwell wrote:
> > postgres(at)ly19:~$ pg_config
> > You need to install postgresql-server-dev-X.Y for building a server-side
> > extension or libpq-dev for building a client-side application.
> >
> > Which is worse having to install yet another package or having a command
> > line option?
>
> It seems to me that this is a Debian packaging issue, not an upstream
> issue, isn't it? If you want to fix the problem in this way, then
> surely whatever package contains pg_upgrade should also contain
> pg_config.
>
>
> ​Indeed. An interesting packaging choice. I'd think it belongs to an admin
> category along with pg_upgrade, pg_dump, etc., rather than a development
> package. Surely it could be useful for admin scripts?

What makes it far worse is that pg_config isn't wrapped like the rest of
the tools are. So you can only have one "development" package installed
at once. We've pushed to change this to no effect. :/
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-07-10 20:43:22 Re: PATCH: index-only scans with partial indexes
Previous Message Joshua D. Drake 2015-07-10 19:35:41 Re: pg_upgrade + Ubuntu