mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Simplify missing tablespace replay error hint message, but only in HEAD
so we don't need to re-translate for 9.0.
This commit is contained in:
parent
3ec694e17b
commit
ed92bec079
@ -40,7 +40,7 @@
|
||||
*
|
||||
*
|
||||
* 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)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_UNDEFINED_FILE),
|
||||
errmsg("directory \"%s\" does not exist", location),
|
||||
InRecovery ? errhint("Create directory \"%s\" for this tablespace before "
|
||||
"restarting the server.", location) : 0));
|
||||
InRecovery ? errhint("Create this directory for the tablespace before "
|
||||
"restarting the server."): 0));
|
||||
else
|
||||
ereport(ERROR,
|
||||
(errcode_for_file_access(),
|
||||
|
Loading…
Reference in New Issue
Block a user