Bug 1007856
Summary: | rebuild of postgresql-plparrot package against new postgresql version | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel Raiskup <praiskup> |
Component: | postgresql-plparrot | Assignee: | Gerd Pokorra <gp> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | gp, jmlich, praiskup |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-20 07:14:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1007840 |
Description
Pavel Raiskup
2013-09-13 13:03:39 UTC
There was a build problem in f20. I fixed it. The plugin do not requires regular rebuild against new versions of PostgreSQL. (In reply to Gerd Pokorra from comment #1) > There was a build problem in f20. I fixed it. Thanks for looking into it. > The plugin do not requires regular rebuild against new versions of > PostgreSQL. I really doubt that this is truth. You should rebuild PostgreSQL plugins in case of major version bump of server. Otherwise, server prints something like: psql:.../.....sql:XX: ERROR: incompatible library "/usr/lib64/pgsql/PLUGIN.so": version mismatch DETAIL: Server is version 9.3, library is version 9.2. .. if you try to use the plugin. I was unable to test it, though, due to bug #1010295. Pavel Hey, currently I build parrt-5.5.0 on rawhide. So I have to rebuild postgresql-plparrot. http://koji.fedoraproject.org/koji/taskinfo?taskID=6024672 What and how do I have to specify the version: Current: BuildRequires: postgresql-devel BuildRequires: parrot-devel Requires: postgresql-server Requires: postgresql-contrib BuildRequires: postgresql-devel = ??? BuildRequires: parrot-devel = ??? Requires: postgresql-server = ??? Requires: postgresql-contrib = ??? What do I have for specify for F19 and F20? How do I notice when I have to rebuild against a new postgres version? Gerd > currently I build parrt-5.5.0 on rawhide. So I have to rebuild > postgresql-plparrot. > > http://koji.fedoraproject.org/koji/taskinfo?taskID=6024672 > > What and how do I have to specify the version: For now I would use this: # empty, or >= lowest major version you are able to build the package against BuildRequires: postgresql-devel = ??? # empty, or >= lowest major version you are able to build the package against BuildRequires: parrot-devel = (d # Cut to only working server major version, example for FC20+ Requires: postgresql-server = postgresql-server >= 9.3, postgresql-server < 9.4 # I'm not sure you need this package? Requires: postgresql-contrib = ??? > What do I have for specify for F19 and F20? Always that postgresql-server you are building against == if that is in brewroot, it is also in relevant fedora release. > How do I notice when I have to rebuild against a new postgres version? You'll not. Using that mechanism, you are not allowed update postgresql-server without updating also plugin & vice-versa. I tried to semi-automatize this by bug #1008939 - if that solution happens, I'll ping you. Thanks for working on this! Pavel |