mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	@@ -950,7 +950,7 @@ standard_ProcessUtility(PlannedStmt *pstmt,
 | 
				
			|||||||
			if (!has_privs_of_role(GetUserId(), ROLE_PG_CHECKPOINT))
 | 
								if (!has_privs_of_role(GetUserId(), ROLE_PG_CHECKPOINT))
 | 
				
			||||||
				ereport(ERROR,
 | 
									ereport(ERROR,
 | 
				
			||||||
						(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
 | 
											(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
 | 
				
			||||||
						 /* translator: %s is name of a SQL command, eg CHECKPOINT */
 | 
									/* translator: %s is name of a SQL command, eg CHECKPOINT */
 | 
				
			||||||
						 errmsg("permission denied to execute %s command",
 | 
											 errmsg("permission denied to execute %s command",
 | 
				
			||||||
								"CHECKPOINT"),
 | 
													"CHECKPOINT"),
 | 
				
			||||||
						 errdetail("Only roles with privileges of the \"%s\" role may execute this command.",
 | 
											 errdetail("Only roles with privileges of the \"%s\" role may execute this command.",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user