From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: James Cloos <cloos@jhcloos.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Cc: Lou Picciano <loupicciano@comcast.net>
Cc: jd@commandprompt.com
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: binary logs: a location other than pg_xlog??
Date: Mon, 22 Nov 2010 13:02:43 -0600
Message-ID: <4CEA69F30200002500037D0B@gw.wicourts.gov> (raw)
In-Reply-To: <m3vd3p2o9l.fsf@jhcloos.com>
References: <1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
<4788.1290402707@sss.pgh.pa.us>
<4788.1290402707@sss.pgh.pa.us>
<m3vd3p2o9l.fsf@jhcloos.com>
James Cloos <cloos@jhcloos.com> wrote:
> I notice that everyone suggests using a symlink, but I never see
> anyone suggest just mounting a filesystem there.
I think initdb wants an empty directory. Once it creates the
directory structure with pg_xlog, if that's a mount point, it's a
bit awkward to mount there and then copy from behind the mount point
onto it. A symbolic link seems both safer and easier.
-Kevin
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: Kevin.Grittner@wicourts.gov, cloos@jhcloos.com, loupicciano@comcast.net, jd@commandprompt.com, tgl@sss.pgh.pa.us
Subject: Re: binary logs: a location other than pg_xlog??
In-Reply-To: <4CEA69F30200002500037D0B@gw.wicourts.gov>
References: <1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> <4788.1290402707@sss.pgh.pa.us> <m3vd3p2o9l.fsf@jhcloos.com> <4CEA69F30200002500037D0B@gw.wicourts.gov>
* 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