Re: Andreas Tille > > please don't reference specific PostgreSQL versions in your > > dependencies as the number changes each year, and it is already wrong > > as 13 is current, and we are moving to 14: > > I understand the issue but postgresql-plr is only a virtual package > and I need to specify a real package as first alternative. Do you > see any chance to have a real postgresql-plr package depending from > the versioned one?
I don't think you need the real package there - postgresql-12-plr has been removed a year ago, and the dependency is even wrong in the released bullseye package. I'd just drop it and go with postgresql-plr. Afaict the "real package first" requirement is only there for build-dependencies. So far we have refrained from adding empty dependency packages to each of the PG extension packages because there's already enough micro-packages, and these extra packages don't even solve the problem completely. Christoph