- Update to 3.4.1, per changes described at:

http://www.pgpool.net/docs/pgpool-II-3.4.1/NEWS.txt
  Fixes bz#1192859
- Add memcached support
This commit is contained in:
Devrim Gündüz 2015-02-16 14:29:21 +02:00
commit 53f802e6f0
3 changed files with 29 additions and 23 deletions

3
.gitignore vendored
View file

@ -1,2 +1 @@
/pgpool-II-3.3.4.tar.gz
/pgpool-II-3.4.0.tar.gz
/pgpool-II-3.4.1.tar.gz

View file

@ -9,8 +9,8 @@
Summary: Pgpool is a connection pooling/replication server for PostgreSQL
Name: postgresql-%{short_name}
Version: 3.4.0
Release: 5%{?dist}
Version: 3.4.1
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
URL: http://pgpool.net
@ -18,7 +18,7 @@ Source0: http://www.pgpool.net/mediawiki/images/%{short_name}-%{version}.tar.gz
Source1: pgpool.service
Source2: pgpool.sysconfig
Source3: pgpool.init
BuildRequires: postgresql-devel pam-devel
BuildRequires: postgresql-devel, pam-devel, libmemcached-devel
%if %{systemd_enabled}
BuildRequires: systemd
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
@ -38,22 +38,22 @@ Provides: postgresql-pgpool = 3.4.2
Obsoletes: postgresql-pgpool <= 3.4.1
%description
pgpool-II is a inherited project of pgpool (to classify from
pgpool-II, it is sometimes called as pgpool-I). For those of
you not familiar with pgpool-I, it is a multi-functional
middle ware for PostgreSQL that features connection pooling,
replication and load balancing functions. pgpool-I allows a
user to connect at most two PostgreSQL servers for higher
availability or for higher search performance compared to a
pgpool-II is a inherited project of pgpool (to classify from
pgpool-II, it is sometimes called as pgpool-I). For those of
you not familiar with pgpool-I, it is a multi-functional
middle ware for PostgreSQL that features connection pooling,
replication and load balancing functions. pgpool-I allows a
user to connect at most two PostgreSQL servers for higher
availability or for higher search performance compared to a
single PostgreSQL server.
pgpool-II, on the other hand, allows multiple PostgreSQL
servers (DB nodes) to be connected, which enables queries
to be executed simultaneously on all servers. In other words,
it enables "parallel query" processing. Also, pgpool-II can
be started as pgpool-I by changing configuration parameters.
pgpool-II that is executed in pgpool-I mode enables multiple
DB nodes to be connected, which was not possible in pgpool-I.
pgpool-II, on the other hand, allows multiple PostgreSQL
servers (DB nodes) to be connected, which enables queries
to be executed simultaneously on all servers. In other words,
it enables "parallel query" processing. Also, pgpool-II can
be started as pgpool-I by changing configuration parameters.
pgpool-II that is executed in pgpool-I mode enables multiple
DB nodes to be connected, which was not possible in pgpool-I.
%package devel
Summary: The development files for pgpool-II
@ -83,6 +83,7 @@ Postgresql extensions libraries and sql files for pgpool-II.
--with-pgsql=%{_libdir}/pgsql \
--disable-static \
--with-pam \
--with-memcached=%{_includedir}/libmemcached \
--sysconfdir=%{_sysconfdir}/%{short_name}/
# https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
@ -128,7 +129,7 @@ install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/pgpool
# nuke libtool archive and static lib
rm -f %{buildroot}%{_libdir}/libpcp.{a,la}
%post
%post
/sbin/ldconfig
%if %{systemd_enabled}
%systemd_post pgpool.service
@ -190,7 +191,7 @@ fi
%dir %{_datadir}/%{short_name}
%{_datadir}/%{short_name}/insert_lock.sql
%{_datadir}/%{short_name}/system_db.sql
%{_datadir}/%{short_name}/pgpool.conf.sample-master-slave
%{_datadir}/%{short_name}/pgpool.conf.sample-master-slave
%{_datadir}/%{short_name}/pgpool.conf.sample-replication
%{_datadir}/%{short_name}/pgpool.conf.sample-stream
%{_libdir}/libpcp.so.*
@ -227,8 +228,14 @@ fi
%changelog
* Mon Feb 16 2015 Devrim GUNDUZ <devrim@gunduz.org> - 3.4.1-1
- Update to 3.4.1, per changes described at:
http://www.pgpool.net/docs/pgpool-II-3.4.1/NEWS.txt
Fixes bz#1192859
- Add memcached support
* Mon Dec 15 2014 Jozef Mlich <jmlich@redhat.com> - 3.4.0-5
- incorrect permissions on init script.
- incorrect permissions on init script.
* Thu Dec 11 2014 Jozef Mlich <jmlich@redhat.com> - 3.4.0-4
- incorrect epoch in obsoletes of recovery subpackage

View file

@ -1 +1 @@
963ed6973d95e097033ad0059554c7ba pgpool-II-3.4.0.tar.gz
2197d956b434bcee6759b082f8dd5816 pgpool-II-3.4.1.tar.gz