Bug 1110969 - Heads-up about a Postgres 9.5 change affecting our packaging
Summary: Heads-up about a Postgres 9.5 change affecting our packaging
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: postgresql
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-19 00:32 UTC by Tom Lane
Modified: 2014-06-19 16:44 UTC (History)
7 users (show)

Fixed In Version: postgresql-9.3.4-7.fc21
Clone Of:
Environment:
Last Closed: 2014-06-19 16:44:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
proposed patch (1.16 KB, patch)
2014-06-19 00:32 UTC, Tom Lane
no flags Details | Diff

Description Tom Lane 2014-06-19 00:32:22 UTC
Created attachment 910196 [details]
proposed patch

Description of problem:
As of
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=df8b7bc9ffff5b00aacff774600b569992cddeb8
which will ship in Postgres 9.5, the mechanism for dealing with OOM score adjustment has changed: there's now some environment variables to set rather than a #define to be applied while building.

While this is not going to be relevant to Fedora till sometime next year, I thought it'd be a good idea to file a bug about it before it gets forgotten.

What you could do if you want to close this bug before adopting 9.5 is to apply the attached patch, which adds the environment settings (which'll be ignored by current Postgres) while not yet removing the CFLAGS item.  If you don't remember to remove the CFLAGS item when updating to 9.5, it'll be harmless, since 9.5 won't pay any attention to the #define.

Comment 1 Ondrej Vasik 2014-06-19 14:34:19 UTC
Thanks Tom!

Comment 2 Pavel Raiskup 2014-06-19 16:44:51 UTC
Committed:
http://pkgs.fedoraproject.org/cgit/postgresql.git/commit/?id=49f074f1918a

Thanks, very appreciated!


Note You need to log in before you can comment on or make changes to this bug.