mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix whitespace
This commit is contained in:
		@@ -253,7 +253,7 @@ GetUserMapping(Oid userid, Oid serverid)
 | 
			
		||||
 *
 | 
			
		||||
 * If missing_ok is true, the function returns InvalidOid when it does not find
 | 
			
		||||
 * required user mapping. Otherwise, find_user_mapping() throws error if it
 | 
			
		||||
 * does not find required user mapping. 
 | 
			
		||||
 * does not find required user mapping.
 | 
			
		||||
 */
 | 
			
		||||
Oid
 | 
			
		||||
GetUserMappingId(Oid userid, Oid serverid, bool missing_ok)
 | 
			
		||||
 
 | 
			
		||||
@@ -33,7 +33,7 @@ typedef struct
 | 
			
		||||
} ExtensibleNodeEntry;
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * An internal function to register a new callback structure 
 | 
			
		||||
 * An internal function to register a new callback structure
 | 
			
		||||
 */
 | 
			
		||||
static void
 | 
			
		||||
RegisterExtensibleNodeEntry(HTAB **p_htable, const char *htable_label,
 | 
			
		||||
 
 | 
			
		||||
@@ -114,13 +114,13 @@ tsquery_phrase_distance(PG_FUNCTION_ARGS)
 | 
			
		||||
	TSQuery		b = PG_GETARG_TSQUERY_COPY(1);
 | 
			
		||||
	QTNode	   *res;
 | 
			
		||||
	TSQuery		query;
 | 
			
		||||
	int32 		distance = PG_GETARG_INT32(2);
 | 
			
		||||
	int32		distance = PG_GETARG_INT32(2);
 | 
			
		||||
 | 
			
		||||
	if (distance < 0 || distance > MAXENTRYPOS)
 | 
			
		||||
		ereport(ERROR,
 | 
			
		||||
				(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
 | 
			
		||||
				 errmsg("distance in phrase operator should be non-negative and less than %d",
 | 
			
		||||
					    MAXENTRYPOS)));
 | 
			
		||||
						MAXENTRYPOS)));
 | 
			
		||||
	if (a->size == 0)
 | 
			
		||||
	{
 | 
			
		||||
		PG_FREE_IF_COPY(a, 1);
 | 
			
		||||
 
 | 
			
		||||
@@ -619,4 +619,3 @@ set_string_attr(PyObject *obj, char *attrname, char *str)
 | 
			
		||||
 | 
			
		||||
	return result != -1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,2 @@
 | 
			
		||||
autovacuum = off
 | 
			
		||||
old_snapshot_threshold = 0
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user