Conraid's Repository

for Slackware

 NameLast modifiedSize

 Parent Directory  -
 postgresql-16.3-x86_64-2cf.txz2024-06-11 11:31 11M
 README2024-06-11 11:31 1.6K
 postgresql-16.3-x86_64-2cf.lst2024-06-11 11:41 295K
 postgresql-16.3-x86_64-2cf.meta2024-06-11 11:41 729
 postgresql-16.3-x86_64-2cf.txt2024-06-11 11:41 426
 postgresql-16.3-x86_64-2cf.txz.asc2024-06-11 11:41 508
 postgresql-16.3-x86_64-2cf.txz.md52024-06-11 11:41 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.



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

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:

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

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

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)