mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03: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:
		@@ -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(),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user