pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6341: Packaging - virtual provides "postgres" without version
7+ messages / 5 participants
[nested] [flat]

* BUG #6341: Packaging - virtual provides "postgres" without version
@ 2011-12-15 16:27  nelson-m-marques@ext.ptinovacao.pt
  0 siblings, 2 replies; 7+ messages in thread

From: nelson-m-marques@ext.ptinovacao.pt @ 2011-12-15 16:27 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      6341
Logged by:          Nelson Marques
Email address:      nelson-m-marques@ext.ptinovacao.pt
PostgreSQL version: 8.4.10
Operating system:   Red Hat Enterprise Linux 5
Description:        

Hi all,

Currently your binary distribution of PostgreSQL for Enterprise Linux has a
virtual provides for 'postgresql' which has no version associated with it
(there's good and bad things depending on usage regarding this
methodology).

Is there a special reason for having a virtual provides without versioning?
For my specific usage, have the "postgresql" virtual provides with a version
associated (the same of the original package) would be of great value, and
this situation might end up in forcing me to repackage the whole thing.

Would upstream consider during next updates to make this virtual provides
associated with the version of the main package? (I don't mind doing the
necessary changes on the spec file, testing and even help maintaining it for
upstream).

NM




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #6341: Packaging - virtual provides "postgres" without version
@ 2011-12-23 17:08  Robert Haas <robertmhaas@gmail.com>
  parent: nelson-m-marques@ext.ptinovacao.pt
  1 sibling, 1 reply; 7+ messages in thread

From: Robert Haas @ 2011-12-23 17:08 UTC (permalink / raw)
  To: nelson-m-marques@ext.ptinovacao.pt; +Cc: pgsql-bugs

On Thu, Dec 15, 2011 at 11:27 AM,  <nelson-m-marques@ext.ptinovacao.pt> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6341
> Logged by:          Nelson Marques
> Email address:      nelson-m-marques@ext.ptinovacao.pt
> PostgreSQL version: 8.4.10
> Operating system:   Red Hat Enterprise Linux 5
> Description:
>
> Hi all,
>
> Currently your binary distribution of PostgreSQL for Enterprise Linux has a
> virtual provides for 'postgresql' which has no version associated with it
> (there's good and bad things depending on usage regarding this
> methodology).
>
> Is there a special reason for having a virtual provides without versioning?
> For my specific usage, have the "postgresql" virtual provides with a version
> associated (the same of the original package) would be of great value, and
> this situation might end up in forcing me to repackage the whole thing.
>
> Would upstream consider during next updates to make this virtual provides
> associated with the version of the main package? (I don't mind doing the
> necessary changes on the spec file, testing and even help maintaining it for
> upstream).

The PostgreSQL project doesn't have any direct control over Red Hat's
spec files, although Tom Lane, a PostgreSQL core team member, also
works at Red Hat.  I would suggest that you take this up with Red Hat
directly...

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #6341: Packaging - virtual provides "postgres" without version
@ 2011-12-23 17:46  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Robert Haas <robertmhaas@gmail.com>
  0 siblings, 3 replies; 7+ messages in thread

From: Tom Lane @ 2011-12-23 17:46 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: nelson-m-marques@ext.ptinovacao.pt; pgsql-bugs; pgsqlrpms-hackers@pgfoundry.org

Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Dec 15, 2011 at 11:27 AM,  <nelson-m-marques@ext.ptinovacao.pt> wrote:
>> Currently your binary distribution of PostgreSQL for Enterprise Linux has a
>> virtual provides for 'postgresql' which has no version associated with it
>> (there's good and bad things depending on usage regarding this
>> methodology).

> The PostgreSQL project doesn't have any direct control over Red Hat's
> spec files, although Tom Lane, a PostgreSQL core team member, also
> works at Red Hat.  I would suggest that you take this up with Red Hat
> directly...

There is no such Provides: in the Red Hat spec files, so I would assume
that this complaint is actually about the PGDG RPMs.  Devrim?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #6341: Packaging - virtual provides "postgres" without version
@ 2011-12-24 16:10  Nelson Manuel Marques <nelson-m-marques@ext.ptinovacao.pt>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  2 siblings, 0 replies; 7+ messages in thread

From: Nelson Manuel Marques @ 2011-12-24 16:10 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; Robert Haas <robertmhaas@gmail.com>; +Cc: pgsql-bugs; pgsqlrpms-hackers@pgfoundry.org <pgsqlrpms-hackers@pgfoundry.org>

Hi,

Feel free to ignore this 'bug report', it's most likely INVALID, as I assumed it was a binary release from upstream, which is incorrect. In fact I was referring to the 'PGDG' RPM's. Mainly the situation is that the PostgreSQL provided by Red Hat on RHEL5 doesn't suit our needs, and while PGDG offers a more attractive choice, it also became not an option due to the packaging methodology applied (the usage of 'alternatives'). So we've decided to build our own packages for the future according to our real needs, including a bit more of configuration effort and we will most likely share them through our repositories for maybe someone who might have very close needs.

My apologies for rushing in filing a bug report based on innacurate information, I should've done the research before and not after the bug report submission.

I would also take this opportunity to express my sincere votes of a Merry Christmas and a Happy Year to the developing team of PostgreSQL, all the packagers and distributors and everyone else in the ecosystem.

Best Regards,
NM




Melhores cumprimentos,
Nelson M. Marques
________________________________________
De: Tom Lane [tgl@sss.pgh.pa.us]
Enviado: sexta-feira, 23 de Dezembro de 2011 17:46
Para: Robert Haas
Cc: Nelson Manuel Marques; pgsql-bugs@postgresql.org; pgsqlrpms-hackers@pgfoundry.org
Assunto: Re: [BUGS] BUG #6341: Packaging - virtual provides "postgres" without version

Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Dec 15, 2011 at 11:27 AM,  <nelson-m-marques@ext.ptinovacao.pt> wrote:
>> Currently your binary distribution of PostgreSQL for Enterprise Linux has a
>> virtual provides for 'postgresql' which has no version associated with it
>> (there's good and bad things depending on usage regarding this
>> methodology).

> The PostgreSQL project doesn't have any direct control over Red Hat's
> spec files, although Tom Lane, a PostgreSQL core team member, also
> works at Red Hat.  I would suggest that you take this up with Red Hat
> directly...

There is no such Provides: in the Red Hat spec files, so I would assume
that this complaint is actually about the PGDG RPMs.  Devrim?

                        regards, tom lane



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #6341: Packaging - virtual provides "postgres" without version
@ 2011-12-24 16:16  Nelson Manuel Marques <nelson-m-marques@ext.ptinovacao.pt>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  2 siblings, 0 replies; 7+ messages in thread

From: Nelson Manuel Marques @ 2011-12-24 16:16 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; Robert Haas <robertmhaas@gmail.com>; +Cc: pgsql-bugs; pgsqlrpms-hackers@pgfoundry.org <pgsqlrpms-hackers@pgfoundry.org>

Tom,

You are right, my apologies for rushing in with innacurate information. There is no problem with Red Hat's RPM's, in fact we decided to repackage PostgreSQL for our needs based on the current work by Red Hat and Fedora (spec file / integration), though with a few minor changes.

The main problem was that the 'PGDG' RPMS have a "Provides: postgresql" without a version. For what I've seen this suggests they are using the 'alternatives' methodology (somehow popular with JAVA), which we don't sympathize. I guess it's the beaty of free software, if you don't like, we can always work it out our own way.

I should've digged up more information before filing this report.

Thanks for your great work with PostgreSQL and Fedora/RH packaging.


BR,
NM


Melhores cumprimentos,
Nelson M. Marques
________________________________________
De: Tom Lane [tgl@sss.pgh.pa.us]
Enviado: sexta-feira, 23 de Dezembro de 2011 17:46
Para: Robert Haas
Cc: Nelson Manuel Marques; pgsql-bugs@postgresql.org; pgsqlrpms-hackers@pgfoundry.org
Assunto: Re: [BUGS] BUG #6341: Packaging - virtual provides "postgres" without version

Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Dec 15, 2011 at 11:27 AM,  <nelson-m-marques@ext.ptinovacao.pt> wrote:
>> Currently your binary distribution of PostgreSQL for Enterprise Linux has a
>> virtual provides for 'postgresql' which has no version associated with it
>> (there's good and bad things depending on usage regarding this
>> methodology).

> The PostgreSQL project doesn't have any direct control over Red Hat's
> spec files, although Tom Lane, a PostgreSQL core team member, also
> works at Red Hat.  I would suggest that you take this up with Red Hat
> directly...

There is no such Provides: in the Red Hat spec files, so I would assume
that this complaint is actually about the PGDG RPMs.  Devrim?

                        regards, tom lane



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #6341: Packaging - virtual provides "postgres" without version
@ 2011-12-26 14:41  Devrim GÜNDÜZ <devrim@gunduz.org>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  2 siblings, 0 replies; 7+ messages in thread

From: Devrim GÜNDÜZ @ 2011-12-26 14:41 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Robert Haas <robertmhaas@gmail.com>; nelson-m-marques@ext.ptinovacao.pt; pgsql-bugs; pgsqlrpms-hackers@pgfoundry.org

On Fri, 2011-12-23 at 12:46 -0500, Tom Lane wrote:
> 
> There is no such Provides: in the Red Hat spec files, so I would
> assume that this complaint is actually about the PGDG RPMs.  Devrim? 

That's PGDG spec, right. Will reply to the first email.

-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachments:

  signature.asc (application/pgp-signature, 197B) download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #6341: Packaging - virtual provides "postgres" without version
@ 2011-12-26 14:51  Devrim GÜNDÜZ <devrim@gunduz.org>
  parent: nelson-m-marques@ext.ptinovacao.pt
  1 sibling, 0 replies; 7+ messages in thread

From: Devrim GÜNDÜZ @ 2011-12-26 14:51 UTC (permalink / raw)
  To: nelson-m-marques@ext.ptinovacao.pt; +Cc: pgsql-bugs

On Thu, 2011-12-15 at 16:27 +0000, nelson-m-marques@ext.ptinovacao.pt
wrote:
> 
> Is there a special reason for having a virtual provides without
> versioning?

PGDG RPMs in RHEL 6 can be installed in parallel, i.e., you can have 8.4
+ on the same machine. OTOH, os supplied RPMs does not have any version
number, and there are lots of packages that need postgresql-libs or
postgresql, etc. We "Provide" version-less packages to satisfy os
dependencies.

Regards,
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachments:

  signature.asc (application/pgp-signature, 197B) download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2011-12-26 14:51 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-12-15 16:27 BUG #6341: Packaging - virtual provides "postgres" without version nelson-m-marques@ext.ptinovacao.pt
2011-12-23 17:08 ` Robert Haas <robertmhaas@gmail.com>
2011-12-23 17:46   ` Tom Lane <tgl@sss.pgh.pa.us>
2011-12-24 16:10     ` Nelson Manuel Marques <nelson-m-marques@ext.ptinovacao.pt>
2011-12-24 16:16     ` Nelson Manuel Marques <nelson-m-marques@ext.ptinovacao.pt>
2011-12-26 14:41     ` Devrim GÜNDÜZ <devrim@gunduz.org>
2011-12-26 14:51 ` Devrim GÜNDÜZ <devrim@gunduz.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox