mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Add a regression test for allow_system_table_mods
Add a regression test file that exercises the kinds of commands that allow_system_table_mods allows. This is put in the "unsafe_tests" suite, so it won't accidentally create a mess if someone runs the normal regression tests against an instance that they care about. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/8b00ea5e-28a7-88ba-e848-21528b632354%402ndquadrant.com
This commit is contained in:
		@@ -2079,10 +2079,6 @@ WHERE c.oid IS NOT NULL OR m.mapped_oid IS NOT NULL;
 | 
			
		||||
 | 
			
		||||
-- Checks on creating and manipulation of user defined relations in
 | 
			
		||||
-- pg_catalog.
 | 
			
		||||
--
 | 
			
		||||
-- XXX: It would be useful to add checks around trying to manipulate
 | 
			
		||||
-- catalog tables, but that might have ugly consequences when run
 | 
			
		||||
-- against an existing server with allow_system_table_mods = on.
 | 
			
		||||
 | 
			
		||||
SHOW allow_system_table_mods;
 | 
			
		||||
-- disallowed because of search_path issues with pg_dump
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user