Re: pg_basebackup for streaming base backups

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-01-19T17:21:55Z
Lists: pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> What I'm worried about is the case where a tablespace is created
> under the $PGDATA directory.

What would be the sense of that?  If you're concerned about whether the
code handles it correctly, maybe the right solution is to add code to
CREATE TABLESPACE to disallow it.

			regards, tom lane