pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Iain <iain@mst.co.jp>
Cc: pgsql-admin@postgresql.org
Subject: Re: easy one: location of the database cluster
Date: Thu, 16 Dec 2004 11:14:00 -0500
Message-ID: <25122.1103213640@sss.pgh.pa.us> (raw)
In-Reply-To: <200412161521.17150.peter_e@gmx.net>
References: <000801c4e34c$f3572210$7201a8c0@mst1x5r347kymb>
	<200412161521.17150.peter_e@gmx.net>

Peter Eisentraut <peter_e@gmx.net> writes:
> Iain wrote:
>> Is there a "standard" directory that people tend to use for this,
>> such as /var/local/pgsql/ ?

> According to the Filesystem Hierarchy Standard, program data should be 
> under /var/lib/<packagename>.  Indeed, many binary distributions use 
> some variant of that as data directory location.

The RPM distributions of PG use /var/lib/pgsql/data as the standard
PGDATA value.  I'm not sure what Debian does but I think it might be
different.  Also there has been some talk of including the major
release number (7.4, 8.0, etc) in the standard PGDATA value, to ease
migration across server versions by allowing different versions to be
installed concurrently.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <25122.1103213640@sss.pgh.pa.us>
Permalink:  ../25122.1103213640@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25122.1103213640@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net, iain@mst.co.jp
  Subject: Re: easy one: location of the database cluster
  In-Reply-To: <25122.1103213640@sss.pgh.pa.us>
  References: <000801c4e34c$f3572210$7201a8c0@mst1x5r347kymb> <200412161521.17150.peter_e@gmx.net> <25122.1103213640@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox