Commit ed92bec0 authored by Bruce Momjian's avatar Bruce Momjian

Simplify missing tablespace replay error hint message, but only in HEAD

so we don't need to re-translate for 9.0.
parent 3ec694e1
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/tablespace.c,v 1.76 2010/07/06 19:18:56 momjian Exp $ * $PostgreSQL: pgsql/src/backend/commands/tablespace.c,v 1.77 2010/07/18 04:47:46 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -553,8 +553,8 @@ create_tablespace_directories(const char *location, const Oid tablespaceoid) ...@@ -553,8 +553,8 @@ create_tablespace_directories(const char *location, const Oid tablespaceoid)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_UNDEFINED_FILE), (errcode(ERRCODE_UNDEFINED_FILE),
errmsg("directory \"%s\" does not exist", location), errmsg("directory \"%s\" does not exist", location),
InRecovery ? errhint("Create directory \"%s\" for this tablespace before " InRecovery ? errhint("Create this directory for the tablespace before "
"restarting the server.", location) : 0)); "restarting the server."): 0));
else else
ereport(ERROR, ereport(ERROR,
(errcode_for_file_access(), (errcode_for_file_access(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment