import OL postgresql-13.11-1.0.1.el9_2

This commit is contained in:
Andrew Lukoshko 2023-06-23 07:07:43 +00:00
parent 6bc5f2f0ee
commit 6d33e85703
6 changed files with 56 additions and 7 deletions

4
.gitignore vendored
View File

@ -1,4 +1,4 @@
SOURCES/postgresql-12.11.tar.bz2
SOURCES/postgresql-13.10-US.pdf
SOURCES/postgresql-13.10.tar.bz2
SOURCES/postgresql-13.11-US.pdf
SOURCES/postgresql-13.11.tar.bz2
SOURCES/postgresql-setup-8.6.tar.gz

View File

@ -1,4 +1,4 @@
9bfd227802565eb749bb2b5338afcca60c64acd9 SOURCES/postgresql-12.11.tar.bz2
cd80efd0c1c13554d46241e49046aa13d64ed877 SOURCES/postgresql-13.10-US.pdf
429963ec9858d8f4eab6bb2c5bffd0b52ea94eb6 SOURCES/postgresql-13.10.tar.bz2
a9706e0e94c0b938a17b2d0aca12070bd6cead8e SOURCES/postgresql-13.11-US.pdf
501acb24ba8539c08ba12b08adecd7559bf87e1b SOURCES/postgresql-13.11.tar.bz2
9e12ee26bf41d3831f83049b51ae5da76de2ce12 SOURCES/postgresql-setup-8.6.tar.gz

View File

@ -0,0 +1,38 @@
From 9720199bccbfaff831618d778ebfd0e5f076991a Mon Sep 17 00:00:00 2001
From: sagar sagar <sagar.sagar@oracle.com>
Date: Tue, 30 May 2023 16:50:24 +0530
Subject: [PATCH] Fixed postgresql service network binding issue during bootup
During the bootup, the postgresql service requires port bind to network
address to assign configured in /var/lib/pgsql/data/postgresql.conf but the
service is not able to do if the network service has not yet assigned an IP
address to the network interface.
By using "network-online.target" parameter in
/usr/lib/systemd/system/postgresql.service we are postponing the postgresql
service to run until we have not got the IP address assinged.
For more info :-
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
Orabug: 35420628
Signed-off-by: sagar sagar <sagar.sagar@oracle.com>
---
postgresql-setup-8.6/postgresql.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/postgresql-setup-8.6/postgresql.service.in b/postgresql-setup-8.6/postgresql.service.in
index c73c42a..893e6fa 100644
--- a/postgresql-setup-8.6/postgresql.service.in
+++ b/postgresql-setup-8.6/postgresql.service.in
@@ -6,7 +6,7 @@
[Unit]
Description=PostgreSQL database server
-After=network.target
+After=network-online.target
[Service]
Type=notify
--
2.39.3

View File

@ -1 +0,0 @@
5bbcf5a56d85c44f3a8b058fb46862ff49cbc91834d07e295d02e6de3c216df2 postgresql-13.10.tar.bz2

View File

@ -0,0 +1 @@
4992ff647203566b670d4e54dc5317499a26856c93576d0ea951bdf6bee50bfb postgresql-13.11.tar.bz2

View File

@ -62,8 +62,8 @@
Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 13
Version: %{majorversion}.10
Release: 1%{?dist}
Version: %{majorversion}.11
Release: 1.0.1%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
# recognizes it as an independent license, so we do as well.
@ -113,6 +113,9 @@ Patch9: postgresql-server-pg_config.patch
Patch12: postgresql-no-libecpg.patch
Patch14: postgresql-pgcrypto-openssl3-tests.patch
#Oracle Patch
Patch1001: 1001-Fixed-postgresql-service-network-binding-issue-durin.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
@ -427,6 +430,7 @@ goal of accelerating analytics queries.
%endif
%patch9 -p1
%patch14 -p1
%patch1001 -p1
# We used to run autoconf here, but there's no longer any real need to,
# since Postgres ships with a reasonably modern configure script.
@ -1219,6 +1223,13 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Wed Jun 21 2023 EL Errata <el-errata_ww@oracle.com> - 13.11-1.0.1
- Fixed postgresql port binding issue during bootup [Orabug: 35420628]
* Fri May 19 2023 Jorge San Emeterio <jsanemet@redhat.com> - 13.11-1
- Update to 13.11
- Resolves: #2207935
* Tue Feb 28 2023 Filip Janus <fjanus@redhat.com> - 13.10-1
- Update to 13.10
- Resolves: #2114734