mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Remove abstime, reltime, tinterval tables from old regression databases.
In the back branches, drop these tables after the regression tests are done with them. This fixes failures of cross-branch pg_upgrade testing caused by these types having been removed in v12. We do lose the ability to test dump/restore behavior with these types in the back branches, but the actual loss of code coverage seems to be nil given that there's nothing very special about these types. Discussion: https://postgr.es/m/20181009192237.34wjp3nmw7oynmmr@alap3.anarazel.de
This commit is contained in:
		@@ -3040,3 +3040,10 @@ SELECT to_char('2012-12-12 12:00'::timestamptz, 'YYYY-MM-DD HH:MI:SS TZ');
 | 
				
			|||||||
(1 row)
 | 
					(1 row)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RESET TIME ZONE;
 | 
					RESET TIME ZONE;
 | 
				
			||||||
 | 
					--
 | 
				
			||||||
 | 
					-- Drop tables that we don't want to keep because they interfere with
 | 
				
			||||||
 | 
					-- testing pg_upgrade to v12 and up
 | 
				
			||||||
 | 
					--
 | 
				
			||||||
 | 
					DROP TABLE abstime_tbl;
 | 
				
			||||||
 | 
					DROP TABLE reltime_tbl;
 | 
				
			||||||
 | 
					DROP TABLE tinterval_tbl;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,6 @@ SELECT relname, relhasindex
 | 
				
			|||||||
   ORDER BY relname;
 | 
					   ORDER BY relname;
 | 
				
			||||||
a|f
 | 
					a|f
 | 
				
			||||||
a_star|f
 | 
					a_star|f
 | 
				
			||||||
abstime_tbl|f
 | 
					 | 
				
			||||||
aggtest|f
 | 
					aggtest|f
 | 
				
			||||||
array_index_op_test|t
 | 
					array_index_op_test|t
 | 
				
			||||||
array_op_test|f
 | 
					array_op_test|f
 | 
				
			||||||
@@ -148,7 +147,6 @@ quad_point_tbl|t
 | 
				
			|||||||
radix_text_tbl|t
 | 
					radix_text_tbl|t
 | 
				
			||||||
ramp|f
 | 
					ramp|f
 | 
				
			||||||
real_city|f
 | 
					real_city|f
 | 
				
			||||||
reltime_tbl|f
 | 
					 | 
				
			||||||
road|t
 | 
					road|t
 | 
				
			||||||
shighway|t
 | 
					shighway|t
 | 
				
			||||||
slow_emp4000|f
 | 
					slow_emp4000|f
 | 
				
			||||||
@@ -173,7 +171,6 @@ time_tbl|f
 | 
				
			|||||||
timestamp_tbl|f
 | 
					timestamp_tbl|f
 | 
				
			||||||
timestamptz_tbl|f
 | 
					timestamptz_tbl|f
 | 
				
			||||||
timetz_tbl|f
 | 
					timetz_tbl|f
 | 
				
			||||||
tinterval_tbl|f
 | 
					 | 
				
			||||||
varchar_tbl|f
 | 
					varchar_tbl|f
 | 
				
			||||||
-- restore normal output mode
 | 
					-- restore normal output mode
 | 
				
			||||||
\a\t
 | 
					\a\t
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -497,3 +497,12 @@ SELECT '2012-12-12 12:00 America/New_York'::timestamptz;
 | 
				
			|||||||
SELECT to_char('2012-12-12 12:00'::timestamptz, 'YYYY-MM-DD HH:MI:SS TZ');
 | 
					SELECT to_char('2012-12-12 12:00'::timestamptz, 'YYYY-MM-DD HH:MI:SS TZ');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RESET TIME ZONE;
 | 
					RESET TIME ZONE;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					--
 | 
				
			||||||
 | 
					-- Drop tables that we don't want to keep because they interfere with
 | 
				
			||||||
 | 
					-- testing pg_upgrade to v12 and up
 | 
				
			||||||
 | 
					--
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DROP TABLE abstime_tbl;
 | 
				
			||||||
 | 
					DROP TABLE reltime_tbl;
 | 
				
			||||||
 | 
					DROP TABLE tinterval_tbl;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user