Conraid's Repository

for Slackware

 NameLast modifiedSize

 Parent Directory  -
 README2017-11-10 11:49 1.6K
 postgresql-10.1-x86_64-1cf.lst2017-11-10 11:53 297K
 postgresql-10.1-x86_64-1cf.meta2017-11-10 11:53 673
 postgresql-10.1-x86_64-1cf.txt2017-11-10 11:53 426
 postgresql-10.1-x86_64-1cf.txz2017-11-10 11:49 8.7M
 postgresql-10.1-x86_64-1cf.txz.asc2017-11-10 11:53 512
 postgresql-10.1-x86_64-1cf.txz.md52017-11-10 11:53 65


Slackware Current Repository by Conraid

======================================================================

postgresql (object-relational database management system)

PostgreSQL is an advanced object-relational database management
system (ORDBMS) based on POSTGRES. With more than 15 years of
development history, it is quickly becoming the de facto
database for enterprise level open source solutions.

HOME: http://www.postgresql.org

======================================================================
NOTE: 

Before you can run postgresql you'll need to create the
database files in /var/lib/pgsql. The following should do
the trick.
	# su postgres -c "initdb -D /var/lib/pgsql/%PG_VERSION%/data --locale=en_US.UTF-8 -A md5 -W"

For production level log file handling please read
http://www.postgresql.org/docs/%PG_VERSION%/interactive/logfile-maintenance.html

In order to start postgresql at boot and stop it properly at shutdown, 
make sure rc.postgresql is executable and add the following lines to 
the following files:

	/etc/rc.d/rc.local
	==================
	# Startup postgresql
	if [ -x /etc/rc.d/rc.postgresql ]; then
		/etc/rc.d/rc.postgresql start
	fi

	/etc/rc.d/rc.local_shutdown
	===========================
	# Stop postgres
	if [ -x /etc/rc.d/rc.postgresql ]; then
		/etc/rc.d/rc.postgresql stop
	fi

Additionally, rc.postgresql script has additional modes for stop/restart:
  force-stop|force-restart (i.e. pg_ctl 'fast' mode)
  unclean-stop|unclean-restart (i.e. pg_ctl 'immediate' mode)
See http://www.postgresql.org/docs/%PG_VERSION%/static/app-pg-ctl.html


======================