The NetBSD Project

CVS log for pkgsrc/databases/postgresql-server/files/Attic/pgsql.sh

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / databases / postgresql-server / files

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.22
Sat Jul 24 22:48:14 2004 UTC (22 years, 3 months ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, cube-native-xorg-base, cube-native-xorg, HEAD
FILE REMOVED
Changes since revision 1.21: +1 -1 lines
Delete old postgresql packages now that we have the postgresql73 ones.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Nov 14 01:46:39 2003 UTC (23 years ago) by explorer
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1 lines
Add 'ulimit -n 4096' to increase the number of FDs postgresql can use.  This is what we do for mysql-server as well.  Bump to nb3.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Oct 11 07:05:19 2003 UTC (23 years, 1 month ago) by grant
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
only test for existance of data directory, rather than the template
databases to determine whether the dbdir has been initialised.

fixes PR pkg/21133 from Thomas T. Thai.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jul 16 10:35:15 2003 UTC (23 years, 4 months ago) by abs
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -4 lines
Update to postgresql-server-7.3.3nb1
	In rc.d/pgsql call pgsql_initdb directly for initial database
	setup, rather than trying to determine the script location
	from $0 and calling '$rcd_dir/pgsql initdb'. The previous
	form broke when called from /etc/rc.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Oct 19 22:26:35 2002 UTC (24 years, 1 month ago) by jlam
Branches: MAIN
CVS tags: netbsd-1-6-1-base, netbsd-1-6-1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Fix case where pgsql_flags contains more that one option.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Oct 19 21:32:46 2002 UTC (24 years, 1 month ago) by jlam
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Forgot to fix quoting for pgsql_flags.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Oct 19 21:02:53 2002 UTC (24 years, 1 month ago) by jlam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -3 lines
Alter quoting so that command_args can be set to something like:

	command_args="> /var/log/pgsql.log"

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Oct 19 19:01:52 2002 UTC (24 years, 1 month ago) by jlam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +38 -28 lines
Allow for different "home" directory for storing PostgreSQL databases.
This is specified at run-time by setting pgsql_home=/path/to/home in
/etc/rc.conf.  Ensure that ${pgsql_home} has the correct permissions
(o=${pgsql_user}, g=${pgsql_group}, m=0750) before initializing the
database.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Oct 19 18:00:16 2002 UTC (24 years, 1 month ago) by jlam
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -2 lines
Don't default to pgsql=NO anymore, as rc.d scripts aren't copied into
/etc/rc.d by default any longer.  This causes the usual warning to be
emitted when the script is executed.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Sep 20 02:01:56 2002 UTC (24 years, 2 months ago) by grant
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@.

as discussed with jlam.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Sep 10 23:20:04 2002 UTC (24 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Use a stricter test for a true rc.d system and default to pgsql=NO if not
supplied in /etc/rc.conf.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Aug 25 21:49:37 2002 UTC (24 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1 lines
Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 25 21:20:01 2002 UTC (24 years, 2 months ago) by jlam
Branches: buildlink2
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3 lines
Merge changes in the main trunk into the buildlink2 branch for those
packages that have been converted to USE_BUILDLINK2.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jul 18 01:40:07 2002 UTC (24 years, 4 months ago) by cjs
Branches: MAIN
CVS tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Don't hard-code PGHOME; get it from the passwd file.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Apr 5 16:23:23 2002 UTC (24 years, 7 months ago) by jlam
Branches: MAIN
CVS tags: netbsd-1-5-PATCH003
Branch point for: buildlink2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +13 -2 lines
Add a few error checks for whether the commands we want to execute actually
exist.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 5 09:50:16 2002 UTC (24 years, 7 months ago) by abs
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -1 lines
If we do not have /etc/rc.subr, but we do have /etc/rc.conf, still source it.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Apr 4 05:21:50 2002 UTC (24 years, 7 months ago) by jlam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +76 -78 lines
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.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Nov 26 20:38:31 2001 UTC (24 years, 11 months ago) by jlam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Use PKG_{USERS,GROUPS} instead of PKG_{USER,GROUP}.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Nov 19 16:23:08 2001 UTC (25 years ago) by jlam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon May 14 21:19:42 2001 UTC (25 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Surround possible empty string in quotes so [ sees an argument.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon May 14 21:02:39 2001 UTC (25 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Generalize some of the code a bit to make it easier to cut-and-paste into
other scripts.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon May 14 20:38:56 2001 UTC (25 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +50 -11 lines
Move database initialization step from the INSTALL script to a
start_precmd in the pgsql rc.d script.  This is more correct, since if
postgresql-server is installed but never used, then no database really
needs to be initialized.  As a side-effect, the bulk-builds of postgresql
should now leave less crud in the aftermath of deinstalling postgresql.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon May 14 14:50:26 2001 UTC (25 years, 6 months ago) by jlam
Branches: TNF
CVS tags: pkgsrc-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
postgresql-server: PostgreSQL database backend server programs

This package also has an enhanced rc.d-style startup script that respects
rc.conf settings.  If you are running NetBSD>=1.5, then add pgsql=YES to
/etc/rc.conf, and set pgsql_flags to any options you wish to pass to the
postmaster.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon May 14 14:50:26 2001 UTC (25 years, 6 months ago) by jlam
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>