Conraid's Repository

for Slackware

 NameLast modifiedSize

 Parent Directory  -
 README2024-04-27 13:55 1.6K
 postgresql-16.2-x86_64-2cf.lst2024-03-30 20:25 295K
 postgresql-16.2-x86_64-2cf.meta2024-03-30 20:25 729
 postgresql-16.2-x86_64-2cf.txt2024-03-30 20:25 426
 postgresql-16.2-x86_64-2cf.txz2024-03-30 20:18 11M
 postgresql-16.2-x86_64-2cf.txz.asc2024-03-30 20:25 508
 postgresql-16.2-x86_64-2cf.txz.md52024-03-30 20:25 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


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