Postgresql apt repository naming scheme question - Mailing list pgsql-general

From Jacob Scott
Subject Postgresql apt repository naming scheme question
Date
Msg-id CA+yM-qZd5BMYJ_Ct9G1Z6jBzMzNHVtosOjChhLs5N47fNhtnFg@mail.gmail.com
Whole thread Raw
Responses Re: Postgresql apt repository naming scheme question
List pgsql-general
Hi,

Many packages in the Postgres apt repository (https://wiki.postgresql.org/wiki/Apt) are named with a PG major version postfix such as postgresql-client-9.5. Is there a reason why libpq-dev is not?

Specifically, I'm interested installing Postgres 9.5 on Ubuntu 14.04, which is made very easy thanks to the apt repo. But I don't see an easy way to specify that I want libpq-dev (e.g, for rebuilding psycopg2) 9.5.something instead of 9.6.something. 

Is it safe/recommended to use the latest released libpq-dev package rather than one which matches the major version of the serrver/client packages being installed? Or should I be manually using the morgue as described in https://www.postgresql.org/message-id/20160731194944.amiwidhsoqh4osac%40msg.df7cb.de ? I feel like I may be missing some key difference between -dev and non -dev packages.

Thanks,

Jacob  


pgsql-general by date:

Previous
From: Andre Mikulec
Date:
Subject: configure PostgreSQL with the python: distutils module not found
Next
From: Ashish Chauhan
Date:
Subject: pg_upgrade_server.log file location