On Mon, Jun 14, 2010 at 9:16 AM, Greg Smith <g...@2ndquadrant.com> wrote:
> I wouldn't be adverse to improving the error messages emitted when this
> happens by the server to make it more obvious what's gone wrong in 9.1.
>  That's the only genuine improvement I'd see value in here, to cut down on
> other people running into what you did and being as confused by it.

What about the attached patch? When we encounter that problem, we get
the following hint message:

  FATAL:  directory "/path_to/ts" does not exist
  HINT:  create "/path_to/ts" directory for tablespace before
restarting the server
  CONTEXT:  xlog redo create ts: 16384 "/path_to/ts"

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment: recovery_ts_hint_v1.patch
Description: Binary data

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to