Subject: CVS commit: pkgsrc/databases/postgresql-server/files
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 04/04/2002 08:21:51
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Apr  4 05:21:51 UTC 2002

Modified Files:
	pkgsrc/databases/postgresql-server/files: pgsql.sh

Log Message:
Fix bug in in "/etc/rc.d/pgsql stop": we need to use "fast" mode rather
than "smart" mode so that the the database will always cleanly shutdown.
Previously, postgres would wait for clients to disconnect before stopping
the database process, which sometimes resulted in unclean shutdowns.
Problem noted by Curt Sampson <cjs@cynic.net> in private email.

I also convert this to use /etc/rc.subr if it is present.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/databases/postgresql-server/files/pgsql.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.