mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	@@ -2802,7 +2802,7 @@ ReadMultiXactCounts(uint32 *multixacts, MultiXactOffset *members)
 | 
			
		||||
 * more aggressive in clamping this value.  That not only causes autovacuum
 | 
			
		||||
 * to ramp up, but also makes any manual vacuums the user issues more
 | 
			
		||||
 * aggressive.  This happens because vacuum_set_xid_limits() clamps the
 | 
			
		||||
 * freeze table and and the minimum freeze age based on the effective
 | 
			
		||||
 * freeze table and the minimum freeze age based on the effective
 | 
			
		||||
 * autovacuum_multixact_freeze_max_age this function returns.  In the worst
 | 
			
		||||
 * case, we'll claim the freeze_max_age to zero, and every vacuum of any
 | 
			
		||||
 * table will try to freeze every multixact.
 | 
			
		||||
 
 | 
			
		||||
@@ -691,7 +691,7 @@ parse_tsquery(char *buf,
 | 
			
		||||
	findoprnd(ptr, query->size, &needcleanup);
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * QI_VALSTOP nodes should be cleaned and and OP_PHRASE should be pushed
 | 
			
		||||
	 * QI_VALSTOP nodes should be cleaned and OP_PHRASE should be pushed
 | 
			
		||||
	 * down
 | 
			
		||||
	 */
 | 
			
		||||
	if (needcleanup)
 | 
			
		||||
 
 | 
			
		||||
@@ -390,7 +390,7 @@ INSERT INTO atest5(two) VALUES (6) ON CONFLICT (two) DO UPDATE set one = 8; -- f
 | 
			
		||||
ERROR:  permission denied for relation atest5
 | 
			
		||||
INSERT INTO atest5(three) VALUES (4) ON CONFLICT (two) DO UPDATE set three = 10; -- fails (due to INSERT)
 | 
			
		||||
ERROR:  permission denied for relation atest5
 | 
			
		||||
-- Check that the the columns in the inference require select privileges
 | 
			
		||||
-- Check that the columns in the inference require select privileges
 | 
			
		||||
-- Error. No privs on four
 | 
			
		||||
INSERT INTO atest5(three) VALUES (4) ON CONFLICT (four) DO UPDATE set three = 10;
 | 
			
		||||
ERROR:  permission denied for relation atest5
 | 
			
		||||
 
 | 
			
		||||
@@ -259,7 +259,7 @@ INSERT INTO atest5(two) VALUES (6) ON CONFLICT (two) DO UPDATE set three = EXCLU
 | 
			
		||||
INSERT INTO atest5(two) VALUES (6) ON CONFLICT (two) DO UPDATE set three = EXCLUDED.three;
 | 
			
		||||
INSERT INTO atest5(two) VALUES (6) ON CONFLICT (two) DO UPDATE set one = 8; -- fails (due to UPDATE)
 | 
			
		||||
INSERT INTO atest5(three) VALUES (4) ON CONFLICT (two) DO UPDATE set three = 10; -- fails (due to INSERT)
 | 
			
		||||
-- Check that the the columns in the inference require select privileges
 | 
			
		||||
-- Check that the columns in the inference require select privileges
 | 
			
		||||
-- Error. No privs on four
 | 
			
		||||
INSERT INTO atest5(three) VALUES (4) ON CONFLICT (four) DO UPDATE set three = 10;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user