OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 22-Nov-2007 22:36:27
Branch: HEAD Handle: 2007112221362600
Modified files:
openpkg-src/postgresql postgresql.spec
Log:
make enabling of 'autovacuum' related options more robust no matter
whether comments exist or not ('stats_row_level' was broken)
Summary:
Revision Changes Path
1.251 +5 -5 openpkg-src/postgresql/postgresql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.spec
============================================================================
$ cvs diff -u -r1.250 -r1.251 postgresql.spec
--- openpkg-src/postgresql/postgresql.spec 24 Oct 2007 17:51:58 -0000
1.250
+++ openpkg-src/postgresql/postgresql.spec 22 Nov 2007 21:36:26 -0000
1.251
@@ -48,7 +48,7 @@
Group: Database
License: GPL
Version: %{V_postgresql}
-Release: 20071024
+Release: 20071122
# package options
%option with_server yes
@@ -558,10 +558,10 @@
# adjust default configuration for hourly auto-vacuum operation
%{l_shtool} subst \
- -e 's;^# *\(stats_start_collector *=\) *[^#]*\(#.*\);\1 on \2;' \
- -e 's;^# *\(stats_row_level *=\) *[^#]*\(#.*\);\1 on \2;' \
- -e 's;^# *\(autovacuum *=\) *[^#]*\(#.*\);\1 on \2;' \
- -e 's;^# *\(autovacuum_naptime *=\) *[^#]*\(#.*\);\1 1h \2;' \
+ -e 's;^# *\(stats_start_collector *=\) *[^#]*\(#.*\)*;\1 on \2;' \
+ -e 's;^# *\(stats_row_level *=\) *[^#]*\(#.*\)*;\1 on \2;' \
+ -e 's;^# *\(autovacuum *=\) *[^#]*\(#.*\)*;\1 on \2;' \
+ -e 's;^# *\(autovacuum_naptime *=\) *[^#]*\(#.*\)*;\1 1h \2;' \
$RPM_BUILD_ROOT%{l_prefix}/share/postgresql/postgresql.conf.sample
# post-adjust pgcluster configuration filenames
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]