Обсуждение: Merge all versions of postgres

Поиск
Список
Период
Сортировка

Merge all versions of postgres

От
Martín Marqués
Дата:
Hi,

We had a exchange of thoughts with a co-worker regarding packaging of
rpm and apt (for some automation of package installation) and one
question we were unable to answer: Why are the pgdg repositories for
rpms separated by version?

In Debian world there's a repository for each version of
Debian/Ubuntu, but not for each version of postgres.

Is it just like that for historical reasons or is there any other
underlying issue I haven't thought of?

Kind regards,

--
Martín Marqués
It’s not that I have something to hide,
it’s that I have nothing I want you to see


Re: Merge all versions of postgres

От
Jason Petersen
Дата:
On Jun 4, 2018, at 6:07 AM, Martín Marqués <martin.marques@gmail.com> wrote:

Is it just like that for historical reasons or is there any other underlying issue I haven't thought of?

I’ve probably had this explained to me in the past, but have forgotten. Some documentation of why this is would be nice (I have a single build image for all versions of PostgreSQL on my Debian images but Red Hat stuff is the cross product of their releases and PostgreSQL and I can’t remember why; it feels like the alternatives system should make this solvable?)

--
Jason Petersen
Software Engineer | Citus Data
303.736.9255

Re: Merge all versions of postgres

От
Devrim Gündüz
Дата:
Hi,

On Mon, 2018-06-04 at 09:07 -0300, Martín Marqués wrote:
> We had a exchange of thoughts with a co-worker regarding packaging of
> rpm and apt (for some automation of package installation) and one
> question we were unable to answer: Why are the pgdg repositories for
> rpms separated by version?

This allows us to push separate version of a same software for different
PostgreSQL versions. This could be solved by renaming all packages, adding
postgresql-11- prefix to each piece of package, but no, we are not doing that.

OTOH, I've been thinking of having a single repo file that includes all repos,
but not on top my todo list.

Regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Вложения