public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-db/postgresql-server/files: postgresql.init-8.4 postgresql.init-8.5 postgresql.conf-8.5 postgresql.conf-8.4
@ 2010-01-26 21:04 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2010-01-26 21:04 UTC (permalink / raw
  To: gentoo-commits

patrick     10/01/26 21:04:59

  Modified:             postgresql.init-8.4 postgresql.init-8.5
                        postgresql.conf-8.5 postgresql.conf-8.4
  Log:
  Fixing 8.5 init scripts, adding PG_EXTRA_OPTS to 8.4 for #273867
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  dev-db/postgresql-server/files/postgresql.init-8.4

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4?r1=1.2&r2=1.3

Index: postgresql.init-8.4
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- postgresql.init-8.4	6 Jan 2010 23:36:01 -0000	1.2
+++ postgresql.init-8.4	26 Jan 2010 21:04:58 -0000	1.3
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4,v 1.2 2010/01/06 23:36:01 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4,v 1.3 2010/01/26 21:04:58 patrick Exp $
 
 opts="${opts} reload"
 
@@ -34,7 +34,8 @@
 	local retval
 
 	su -l ${PGUSER} \
-		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.4/bin/pg_ctl start ${WAIT_FOR_START} -o '--silent-mode=true ${PGOPTS}'"
+		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.4/bin/pg_ctl start ${WAIT_FOR_START} \
+		-o '--silent-mode=true ${PGOPTS}'" ${PG_EXTRA_ENV}
 	retval=$?
 	[ $retval -ne 0 ] && eend $retval && return $retval
 



1.2                  dev-db/postgresql-server/files/postgresql.init-8.5

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.5?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.5?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.5?r1=1.1&r2=1.2

Index: postgresql.init-8.5
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.5,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- postgresql.init-8.5	26 Jan 2010 19:26:33 -0000	1.1
+++ postgresql.init-8.5	26 Jan 2010 21:04:58 -0000	1.2
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.5,v 1.1 2010/01/26 19:26:33 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.5,v 1.2 2010/01/26 21:04:58 patrick Exp $
 
 opts="${opts} reload"
 
@@ -34,7 +34,7 @@
 	local retval
 
 	su -l ${PGUSER} \
-		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.4/bin/pg_ctl start ${WAIT_FOR_START} -o '--silent-mode=true ${PGOPTS}'"
+		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.5/bin/pg_ctl start ${WAIT_FOR_START} -o '--silent-mode=true ${PGOPTS}'"
 	retval=$?
 	[ $retval -ne 0 ] && eend $retval && return $retval
 
@@ -59,7 +59,7 @@
 	local retval
 
 	su -l ${PGUSER} \
-		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.4/bin/pg_ctl stop -t ${WAIT_FOR_DISCONNECT} -m smart"
+		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.5/bin/pg_ctl stop -t ${WAIT_FOR_DISCONNECT} -m smart"
 
 	retval=$?
 	[ $retval -eq 0 ] && eend $retval && return $retval
@@ -68,7 +68,7 @@
 	ewarn "Going to shutdown the server anyway."
 
 	su -l ${PGUSER} \
-		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.4/bin/pg_ctl stop -m fast"
+		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.5/bin/pg_ctl stop -m fast"
 
 	retval=$?
 	[ $retval -eq 0 ] && eend $retval && return $retval
@@ -83,7 +83,7 @@
 	ewarn "Forcing it to shutdown which leads to a recover-run on next startup."
 
 	su -l ${PGUSER} \
-		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.4/bin/pg_ctl stop -m immediate"
+		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.5/bin/pg_ctl stop -m immediate"
 
 	retval=$?
 	[ $retval -eq 0 ] && eend $retval && return $retval
@@ -95,6 +95,6 @@
 reload() {
 	ebegin "Reloading PostgreSQL configuration"
 	su -l ${PGUSER} \
-		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.4/bin/pg_ctl reload"	
+		-c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.5/bin/pg_ctl reload"	
 	eend $?
 }



1.2                  dev-db/postgresql-server/files/postgresql.conf-8.5

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.conf-8.5?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.conf-8.5?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.conf-8.5?r1=1.1&r2=1.2

Index: postgresql.conf-8.5
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.conf-8.5,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- postgresql.conf-8.5	26 Jan 2010 19:26:33 -0000	1.1
+++ postgresql.conf-8.5	26 Jan 2010 21:04:58 -0000	1.2
@@ -1,5 +1,5 @@
 # PostgreSQL's Database Directory
-PGDATA="/var/lib/postgresql/8.4/data"
+PGDATA="/var/lib/postgresql/8.5/data"
 
 # PostgreSQL User
 PGUSER="postgres"



1.2                  dev-db/postgresql-server/files/postgresql.conf-8.4

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.conf-8.4?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.conf-8.4?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-server/files/postgresql.conf-8.4?r1=1.1&r2=1.2

Index: postgresql.conf-8.4
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.conf-8.4,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- postgresql.conf-8.4	9 Sep 2009 21:41:25 -0000	1.1
+++ postgresql.conf-8.4	26 Jan 2010 21:04:58 -0000	1.2
@@ -14,6 +14,8 @@
 # can be set directly in the configuration-file.
 #PGOPTS="-N 512 -B 1024"
 
+# Pass extra environment variables 
+#PG_EXTRA_ENV=""
 
 # SERVER SHUTDOWN:
 # The server will receive 3 signals in the worst case:






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-26 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26 21:04 [gentoo-commits] gentoo-x86 commit in dev-db/postgresql-server/files: postgresql.init-8.4 postgresql.init-8.5 postgresql.conf-8.5 postgresql.conf-8.4 Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox