Skip site navigation (1) Skip section navigation (2)

Re: Hardcoded PostgreSQL location..

From: Chris Wolf <cwolf(at)starclass(dot)com>
To: lamar(dot)owen(at)wgcr(dot)org
Cc: pgsql-ports(at)postgresql(dot)org, teg(at)redhat(dot)com
Subject: Re: Hardcoded PostgreSQL location..
Date: 2001-01-24 00:34:40
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports

I normally don't like to locate application data in my 
"/var" partition, so I modified the postgresql startup 
script to locate PGDATA relative to the home directory
of the postgres user. (Usually "postgres")

I was able to change the home directory of "postgres"
to "/home/pgsql" and the script sucessfully picked up 
the new location and initialized a database.


Chris Wolf

Attachment: postgresql
Description: text/plain (3.2 KB)

pgsql-ports by date

Next:From: JimDate: 2001-01-24 09:09:35
Subject: DEC UNIX
Previous:From: Ryan KirkpatrickDate: 2001-01-23 14:49:48
Subject: Re: [PORTS] PostgreSQL pre-7.1 Linux/Alpha Status...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group