Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted? - Mailing list pgsql-general

From Tom Lane
Subject Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?
Date
Msg-id 15645.1206987035@sss.pgh.pa.us
Whole thread Raw
In response to Can Postgres 8.x start if some disks containing tablespaces are not mounted?  ("Morris Goldstein" <morris.x.goldstein@gmail.com>)
Responses Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?
Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?
List pgsql-general
"Morris Goldstein" <morris.x.goldstein@gmail.com> writes:
> Suppose I have a database with $PGDATA on /dev/sda, and a tablespace
> directory on /dev/sdb. Will Postgres start successfully if /dev/sda is
> mounted and /dev/sdb is not? If not, why not?

It will start, but you will have unpleasant failures when you try to use
tables in the secondary tablespace ... note that if autovacuum is on,
that is likely to happen even without any explicit action on your part.

            regards, tom lane

pgsql-general by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?
Next
From: "Pavan Deolasee"
Date:
Subject: Re: [HACKERS] ANALYZE getting dead tuple count hopelessly wrong