Commit Graph

332 Commits

Author SHA1 Message Date
Pavel Raiskup
c88f76d540 postgresql-setup is now in separate tarball
.. together with other scripts and files.  This should make the
development and testing of those files easier.  Also packaging
should benefit from this change.

Version: 9.3.5-6
Resolves: #1145129
2014-09-22 14:55:49 +02:00
Jitka Plesnikova
721530b8e4 Perl 5.20 rebuild 2014-08-27 17:46:57 +02:00
Pavel Raiskup
ebf59e42fa rpm-macros: install macros.%{name}, not %{name}.macros
The %{name}.macros file is not loaded by rpm.  Spotted by jmlich
through regular dependency checker in Fedora & postgresql-ip4r
package.

Version: 9.3.5-4
2014-08-21 15:34:41 +02:00
Peter Robinson
09271080e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 19:40:36 +00:00
Pavel Raiskup
c9a55bd785 spec: fix prevversion checksum link
Version: 9.3.5-2
2014-07-24 13:47:57 +02:00
Pavel Raiskup
0e0465561c rebase: minor release update
Per release notes:
http://www.postgresql.org/docs/9.3/static/release-9-3-5.html

Version: 9.3.5-1
2014-07-24 12:57:09 +02:00
Pavel Raiskup
4f1d2a0833 devel: guard against incompabtible plugin installation
Each package having some *.so plugin for postgresql-server should
be rebuilt against each major version bump of PostgreSQL.  Using
this statements in F21+

  BuildRequires: postgresql-devel
  Require: postgresql-server(:MODULE_COMPAT_%{postgresql_major})

then automatically blocks installation of postgresql-server and
incompatible plugin at the same time and thus indirectly forces
plugin maintainers to rebuild their packages against newer server.

File macros.postgresql now starts providing correct
%{postgresql_major} macro.

Resolves: #1008939
Version: 9.3.4-8
2014-07-18 09:10:43 +02:00
Pavel Raiskup
bf770dd7e1 spec: move big html documentation from base to *-docs package
Resolves: #1086420
Version: 9.3.4-8
2014-07-18 09:09:42 +02:00
Pavel Raiskup
a4d772f81c spec: provide postgresql-doc by postgresql-docs
Related: #1086420
Version: 9.3.4-8
2014-06-25 16:48:39 +02:00
Pavel Raiskup
49f074f191 service: OOM handling set compatibly with 9.5+
Thanks Tom.

Resolves: #1110969
Version: 9.3.4-7
2014-06-19 18:38:55 +02:00
Dennis Gilmore
abb534ae56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 11:53:55 -05:00
Honza Horak
729866cc36 Rebuild for Python 3.4 2014-05-26 08:42:49 +02:00
Honza Horak
832a5a0ffd Change plpython_do test a bit so it is universal for all python versions 2014-05-23 16:53:39 +02:00
Jaroslav Škarvada
b57df46f2d - Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 2014-05-21 12:31:43 +02:00
Pavel Raiskup
533a1efbb6 postgresql-setup: work even if $PATH is unset or empty
.. by setting $PATH to default value.  Also check for command
existence by 'command' built-in instead of checking for file
existence.

Version: 9.3.4-2
Resolves: #1097317
2014-05-14 13:34:35 +02:00
Jozef Mlich
365123c53c update to 9.3.4 minor version per release notes:
http://www.postgresql.org/docs/9.3/static/release-9-3-4.html
2014-03-20 17:18:11 +01:00
Jozef Mlich
a21b7d5314 - Fix WAL replay of locking an updated tuple
kudos to Alvaro Herrera

  See http://www.postgresql.org/message-id/CA+Tgmob8vfzYrLToqYr7uJ2moW3Gnv8rZpPtznxVXRPfTHQpCA@mail.gmail.com
2014-03-13 13:50:06 +01:00
Jozef Mlich
a2f501b795 update to 9.3.3 minor version per release notes:
http://www.postgresql.org/docs/9.3/static/release-9-3-3.html
2014-02-20 15:58:24 +01:00
Pavel Raiskup
6d2de0b6b6 postgresql-setup: typos
Version: 9.3.2-7
2014-01-23 10:56:07 +01:00
Pavel Raiskup
a43ac073bc postgresql-setup: add PGSETUP_PGUPGRADE_OPTIONS
This allows user to use something like
PGSETUP_PGUPGRADE_OPTIONS="-o '-B 5MB'" to work-around badly set
kernel.shmax value.

Version: 9.3.2-6
2014-01-21 15:55:42 +01:00
Pavel Raiskup
7df4c0e471 postgresql-setup: handle --version option earlier
This generated the manual page badly before as the output of
--version option depended on system's postgresql.service (not
available at a build time).  So handle options rather at the
beginning of the script.

Version: 9.3.2-5
2014-01-20 15:03:32 +01:00
Pavel Raiskup
ca2964b709 docu: document postgresql-setup in --help a little
Also automatically generate manual page from the help output.

Version: 9.3.2-4
2014-01-20 09:49:16 +01:00
Pavel Raiskup
44cd816532 spec: move script generation to proper place
Generate postgresql-setup and postgresql-check-db-dir in %prep
rather then in %install.  It is (a) better place and (b) it speeds
up its testing ('rpmbuild -bp *.spec' is able to generate them).

Version: 9.3.2-4
2014-01-13 10:01:49 +01:00
Pavel Raiskup
8e40185581 postgresql-setup: do not pretend 'sh' compatibility
At least the way the script is prepared for translation is adopted
from bash.

Version: 9.3.2-4
2014-01-13 10:01:47 +01:00
Pavel Raiskup
2f213ebd1d postgresql-setup: add $PGSETUP_INITDB_OPTIONS
Users may now specify by this variable parameters passed to initdb
run.  See `man initdb(1)`.  This may help if user gets stacked
with bug #1007802.

Related: #1007802
Version: 9.3.2-4
2014-01-13 10:01:44 +01:00
Pavel Raiskup
083dd21498 postgresql-setup: do not stop server when it can't be started
Version: 9.3.2-4
2014-01-13 09:59:32 +01:00
Pavel Raiskup
88e98c3302 spec: build with -O3 on ppc64
Resolves: #1051075 (private)
Version: 9.3.2-3
2014-01-10 09:35:43 +01:00
Pavel Raiskup
4c6bd5df12 postgresql-setup: lint
Rather use the --ignore-space-change when showing differences.

Version: 9.3.2-2
2013-12-16 14:43:19 +01:00
Jozef Mlich
85e0b076bc postgresql-setup: ignore misconfigure pg_hba.conf when upgrading
Resolves: #1040364
Version: 9.3.2-2
2013-12-16 14:39:50 +01:00
Jozef Mlich
3355515a99 update to 9.3.2 minor version per release notes:
http://www.postgresql.org/docs/9.3/static/release-9-3-2.html
2013-12-05 16:32:09 +01:00
Jozef Mlich
4b81ad4d16 the prevversion (see package upgrade process) is updated
from 9.2.4 to 9.2.5
2013-10-17 10:29:33 +02:00
Jozef Mlich
592d0dee38 rebase to 9.3.1, see http://www.postgresql.org/docs/9.3/static/release-9-3-1.html 2013-10-10 17:45:08 +02:00
Pavel Raiskup
24c5bf3138 rebase: upgrade to version 9.3.0
Version: 9.3.0-1
2013-09-10 16:01:09 +02:00
Pavel Raiskup
f9f152f08e upgrade: stop old server in case of permissions problem
Version: 9.2.4-11
Resolves: #896161
2013-08-15 07:41:09 +02:00
Pavel Raiskup
4dafc07c13 upgrade: disable aggressive loop optimizations
This is important for gcc >= 4.8.0 as the optimizations were turned on by
default.  New code-base is OK thus enable this only for older
(upgrade-related) code.

Resolves: #993532
Version: 9.2.4-10
2013-08-12 07:32:50 +02:00
Pavel Raiskup
9124149d17 spec: fix links to docdir in postgresql-check-db-dir
Resolves: #994048
Version: 9.2.4-9
2013-08-07 08:31:13 +02:00
Pavel Raiskup
83ea972cfd spec: allow rpmbuild -bi --short-circuit
Version: 9.2.4-8
2013-08-06 13:06:03 +02:00
Dennis Gilmore
a680fe1178 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 23:57:45 -05:00
Pavel Raiskup
cb07b6b8cc spec: allow debug also for upgrade when %beta == 1
Version: 9.2.4-6
2013-07-29 10:33:23 +02:00
Pavel Raiskup
9d28c85075 spec: split aarch64 patch to allow build for %upgrade == 0
Version: 9.2.4-6
2013-07-24 14:15:40 +02:00
Pavel Raiskup
44506bd77e testsuite: fix FTBFS against perl-5.18
Version: 9.2.4-5
2013-07-23 10:15:05 +02:00
Petr Písař
304cc8de27 Perl 5.18 rebuild 2013-07-18 02:37:26 +02:00
Pavel Raiskup
6f62d3591c spec: fix bogus versions in changelog
Version: 9.2.4-4
2013-07-09 14:35:23 +02:00
Pavel Raiskup
3fea88c154 spec: do not use 'patch -b' for manual page fixes
The 'make install' target in Makefile is written by hand (not generated by
automake) and it can't tell whether the backups are/(are not) regular
manpages.  Thus it would install also all backups as it was manual page.

Detected by RPMDiff (private link):
    https://rpmdiff.lab.eng.brq.redhat.com/run/43086/3/

Version: 9.2.4-4
2013-07-09 14:35:15 +02:00
Pavel Raiskup
a57d617cef spec: replace hard-coded path with macro
Version: 9.2.4-3
2013-06-20 09:46:48 +02:00
Pavel Raiskup
3992fad4ad README.rpm-dist: point user to install postgresql-server
Resolves: #969050
Version: 9.2.4-3
2013-06-20 09:44:06 +02:00
Pavel Raiskup
33319f6255 spec: ups, forgot to bump release in changelog during rebase
Version: 9.2.4-3
2013-06-13 10:38:57 +02:00
Pavel Raiskup
3202ca7723 man: apply the forgotten man-page-day patch
Version: 9.2.4-3
Related: #948933
2013-06-13 10:35:44 +02:00
Pavel Raiskup
0415e338bc postgresql: fix for atomic operations in aarch64
.. is needed also in the older version.

Version: 9.2.4-3
Resolves: #970661
2013-06-13 10:33:54 +02:00
Jan Staněk
cac63b3ab0 added patch for manual pages (#948933) 2013-06-13 09:38:22 +02:00
Pavel Raiskup
63807df6fc postgresql-setup: fail earlier during bad $PGDATA dir creation
Related: #972425
Version: 9.2.4-2
2013-06-11 11:04:44 +02:00
Pavel Raiskup
30d053b7a5 postgresql: add support for atomic operations in aarch64
Version: 9.2.4-2
Resolves: #970661
2013-06-05 09:37:37 +02:00
Pavel Raiskup
b6b61d6de7 spec: fix rpmlint warnings
Version: 9.2.4-1
2013-06-04 15:28:55 +02:00
Tom Lane
d27a983cef Update to PostgreSQL 9.2.4 2013-04-04 09:42:29 -04:00
Tom Lane
3b77faf93c Update to PostgreSQL 9.2.3 2013-02-07 10:50:50 -05:00
Tom Lane
1cd49a06e5 Fix bugs 891531 and 891547 2013-01-03 18:37:36 -05:00
Tom Lane
73e3a6adf8 Make building of plpython3 dependent on Fedora version, per guidelines 2012-12-19 12:15:54 -05:00
Tom Lane
5f6fb7975f Update to PostgreSQL 9.2.2 2012-12-06 11:05:36 -05:00
Tom Lane
36551c37db Update to PostgreSQL 9.2.1 2012-09-24 11:33:10 -04:00
Tom Lane
795d3d1431 Update to PostgreSQL 9.2.0; add postgresql-plpython3 2012-09-10 11:15:54 -04:00
Tom Lane
8f944a5a01 Remove unnecessary ldconfig calls in pre/post triggers 2012-08-28 01:01:14 -04:00
Tom Lane
f95c6455f3 Update to PostgreSQL 9.1.5 2012-08-17 11:48:18 -04:00
Tom Lane
497da8cf86 Place Unix sockets in /var/run/postgresql. 2012-08-13 13:13:01 -04:00
Dennis Gilmore
0011b0bd43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 21:45:24 -05:00
Tom Lane
67b80785ce Add legacy action scripts, fix oom_score_adj usage 2012-07-14 23:45:13 -04:00
Petr Písař
b937d0f13c Perl 5.16 rebuild 2012-06-11 15:16:04 +02:00
Tom Lane
d270fa3ca6 Update to 9.1.4. 2012-06-04 08:31:09 -04:00
Tom Lane
de5b387d8f Fix postgresql-setup to rely on systemd to parse the unit file 2012-03-17 12:47:37 -04:00
Tom Lane
338b75480d Fix postgresql-setup, re-add init script 2012-03-13 19:38:14 -04:00
Tom Lane
2e73ff757c Update to PostgreSQL 9.1.3 2012-02-27 11:05:52 -05:00
Tom Lane
d44dce3f6c Resurrect startup check for database presence. 2012-01-09 15:24:29 -05:00
Tom Lane
a60f809e42 Update to PostgreSQL 9.1.2 2011-12-05 11:32:50 -05:00
Honza Horák
9c2d09be8c Merge branch 'master' of ssh://pkgs.fedoraproject.org/postgresql 2011-11-08 17:58:26 +01:00
Honza Horák
f82c498740 Changed Resolves to Related by bug #729012 2011-11-08 17:57:50 +01:00
Tom Lane
464a98d92f Improve %description text for PostgreSQL. 2011-11-07 12:21:47 -05:00
Honza Horák
c99f89f75b Create a symlink of pg_regress instead of full copy;
Don't strip symbols from regress libs
Resolves: #729012
2011-11-02 10:05:15 +01:00
Tom Lane
13cd21d5db Update to PostgreSQL 9.1.1 2011-09-26 17:29:49 -04:00
Tom Lane
d1e157db19 Update to PostgreSQL 9.1.0 2011-09-12 02:05:56 -04:00
Tom Lane
72893f4818 Convert to systemd startup support 2011-07-27 19:32:24 -04:00
Petr Sabata
7de7a32f91 Perl mass rebuild 2011-07-21 18:41:56 +02:00
Petr Sabata
e60877113e Perl mass rebuild 2011-07-20 11:59:35 +02:00
Tom Lane
225f74aa3b fat-fingered changelog entry 2011-07-06 18:22:54 -04:00
Tom Lane
de983032c2 Remove erroneously-included Default-Start line from LSB init block 2011-07-06 18:21:23 -04:00
Tom Lane
9b6ef0aa03 Add upstream patch needed for Perl 5.14 2011-06-17 13:32:41 -04:00
Marcela Mašláňová
faae8041b1 Perl mass rebuild 2011-06-17 18:09:39 +02:00
Tom Lane
562fb683df Work around gcc 4.6.0 bug 2011-06-10 17:16:01 -04:00
Tom Lane
cbf5959e96 LSB init block to initscript 2011-05-10 16:12:31 -04:00
Tom Lane
7632f67fca Update to PostgreSQL 9.0.4 2011-04-18 11:04:47 -04:00
Tom Lane
2af4178aee _isa-ify inter-subpackage dependencies, per Packaging Guidelines. 2011-02-10 02:01:20 -05:00
Dennis Gilmore
426a182de1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 10:11:10 -06:00
Tom Lane
c425547bbc Remove filter-requires-perl-Pg.sh 2011-02-03 12:20:24 -05:00
Tom Lane
e5c31247fc Update to PostgreSQL 9.0.3 2011-02-01 10:35:37 -05:00
Tom Lane
4753f3695e Update to PostgreSQL 9.0.2 2010-12-28 19:13:08 -05:00
Tom Lane
6b84484ca5 Update to PostgreSQL 8.4.6 2010-12-16 14:44:35 -05:00
Tom Lane
24943ae8ab Update to PostgreSQL 8.4.5 2010-10-05 15:19:41 -04:00
Orcan Ogetbil
ac363ac9e1 * Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8.4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
- Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines
2010-07-31 00:56:13 -04:00
Tom Lane
19bd07f632 Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines 2010-07-08 20:21:30 +00:00
Marcela Mašláňová
5f6138f932 - Mass rebuild with perl-5.12.0 2010-06-01 22:16:43 +00:00
Tom Lane
3adc308eb2 Update to PostgreSQL 8.4.4 2010-05-17 17:30:50 +00:00
Tom Lane
446c31a8ed Update to PostgreSQL 8.4.3 2010-03-14 03:48:10 +00:00
Tom Lane
9cc5f2029d Fix initscript LSB compliance issues 2010-02-22 18:16:56 +00:00
Tom Callaway
b7fa69b9cb adjust license tag to reflect OSI decision 2010-02-18 15:25:30 +00:00
Tom Lane
1a80a96e74 Emit explicit error message if user tries to build RPM as root 2010-01-26 18:29:52 +00:00
Tom Lane
962b39e67e Latest version of systemtap needs the probes.o file to be built again 2010-01-20 22:34:36 +00:00
Tom Lane
63cfa0eb28 Provide script and instructions for building the documentation PDF 2010-01-20 20:46:00 +00:00
Tom Lane
8d21c7a170 Document how to generate PDF doc file. 2010-01-16 05:40:31 +00:00
Tom Lane
8c0b311010 Work around unintelligent kernel OOM-kill algorithm. 2010-01-11 18:11:25 +00:00
Tom Lane
2a1cdc60c9 PyGreSQL and tcl-pgtcl are finally split out as separate packages. 2010-01-09 05:23:05 +00:00
Tom Lane
a6a1e9bfab Remove static libraries, also fix %define problem 2010-01-05 17:56:35 +00:00
Tom Lane
27a52c7f5f Update to PostgreSQL 8.4.2 2009-12-16 05:34:05 +00:00
Štěpán Kasal
b34a338c09 - rebuild against perl 5.10.1 2009-12-07 02:41:35 +00:00
Tom Lane
b1315b865a add sparc/sparc64 to multilib header support 2009-10-16 03:47:52 +00:00
Tom Lane
8387bb8f87 Ensure pgstartup.log gets the right ownership/permissions during initdb 2009-09-22 00:45:57 +00:00
Tomáš Mráz
17942eb8cd - Use password-auth common PAM configuration instead of system-auth 2009-09-16 17:50:13 +00:00
Tom Lane
a8e2f35299 Update to PostgreSQL 8.4.1 2009-09-09 15:13:29 +00:00
Karsten Hopp
10587f4e78 - bump release and build again with the correct libssl 2009-09-01 20:39:52 +00:00
Karsten Hopp
8f9b7125d6 - disable dtrace on s390x as a workaround until #520469 has been fixed 2009-09-01 17:31:59 +00:00
Tomáš Mráz
3c51035152 - rebuilt with new openssl 2009-08-21 15:29:10 +00:00
Tom Callaway
8b3d2d6051 license tag fix 2009-08-20 18:55:13 +00:00
Tom Lane
084ca74c64 Update to PostgreSQL 8.4.0. 2009-08-18 02:58:55 +00:00
Jesse Keating
cddd7916a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-26 19:14:39 +00:00
Tom Lane
cc83805459 Remove no-longer-needed BuildRequires: e2fsprogs-devel 2009-07-02 00:34:17 +00:00
Tom Lane
bc5e872454 Update to PostgreSQL 8.3.7 2009-03-21 22:43:50 +00:00
Tom Lane
18a2a1a2f2 Prevent dependent packages from needing to include sys/sdt.h 2009-03-11 01:36:52 +00:00
Tom Lane
14d34333dd Enable tracing via systemtap 2009-03-08 20:29:14 +00:00
Jesse Keating
e1e05110f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-27 01:43:49 +00:00
Tom Lane
d4ab76cc92 Update to PostgreSQL 8.3.6 2009-02-07 05:55:40 +00:00
Dennis Gilmore
2f4174b639 build -O1 sparc64 2009-01-22 07:36:28 +00:00
Tomáš Mráz
74b1eab5e6 - rebuild with new openssl 2009-01-17 19:46:16 +00:00
Ignacio Vazquez-Abrams
31b180c969 Rebuild for Python 2.6 2008-11-29 17:56:28 +00:00
Tom Lane
ef0957ba0a Update to PostgreSQL 8.3.5 2008-11-02 18:23:29 +00:00
Tom Lane
516dbde427 Update to PostgreSQL 8.3.4 2008-09-25 14:40:14 +00:00
Tom Lane
b2169aa2ae So apparently, %patch -F does not actually *work* in the current Fedora
infrastructure. Grumble.
2008-07-29 01:50:10 +00:00
Tom Lane
09bd3b3257 Fix FTBFS problem occasioned by _default_patch_fuzz = 0 in rawhide 2008-07-29 00:24:16 +00:00
Tom Lane
898ed62300 Install Pgtcl in /usr/lib/tcl$TCL_VERSION, not directly in /usr/lib 2008-06-20 16:54:12 +00:00
Tom Lane
493aa00b1a Update to PostgreSQL 8.3.3 2008-06-11 16:18:40 +00:00
Tom Lane
6e3b5a3bca rebuild because of buildsystem hiccup 2008-05-18 03:41:30 +00:00
Tom Lane
affd6a00b5 Enable LDAP support. Use -Wl,--as-needed to suppress bogus dependencies. 2008-05-18 02:17:53 +00:00
Tom Lane
f6af6c0fb9 Fix build breakage on PPC due to incorrect configure test 2008-04-28 23:00:55 +00:00
Tom Lane
3a834ad97f Clean up cross-subpackage Requires: per #444271 2008-04-27 00:54:00 +00:00
Tom Lane
d81bd839fe Update to PostgreSQL 8.3.1 2008-03-26 03:48:22 +00:00
Tom Callaway
853387736c add Requires for versioned perl (libperl.so) 2008-03-18 18:53:20 +00:00
Tom Lane
1f28b3c18c Enable the new GSSAPI support in 8.3.0 (forgotten in the original update) 2008-02-06 05:57:49 +00:00
Tom Lane
e6b898c56d Update to PostgreSQL 8.3.0 2008-02-05 03:49:51 +00:00
Tom Lane
8bf3ae46af Update to PostgreSQL 8.3RC2 and pgtcl 1.6.2. 2008-01-18 20:48:56 +00:00
Tom Lane
8d5bd11f6b Make initscript and pam config files be installed unconditionally 2008-01-07 19:28:34 +00:00
Tom Lane
6bcab53b12 Update to PostgreSQL 8.2.6 to fix CVE-2007-6600 and others 2008-01-07 19:01:59 +00:00
Tom Lane
e5fb010be7 Rebuild for new openssl 2007-12-05 14:30:04 +00:00
Tom Lane
a7e7a42156 Update to PostgreSQL 8.2.5 and pgtcl 1.6.0 2007-09-20 20:18:09 +00:00
Tom Lane
23226f90bb Fix multilib problem introduced in 8.2.x: new include file ecpg_config.h is
architecture-dependent.
2007-09-04 17:26:37 +00:00