mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Stabilize regression test from c0962a113.
				
					
				
			Per buildfarm. Co-authored-by: Alena Rybakina <a.rybakina@postgrespro.ru> Co-authored-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/srnuqlttuimzmvoulhsrbgvj4vnul6b65osswvua7sfkqsvmuy@yg7apybpxp34
This commit is contained in:
		@@ -2755,28 +2755,29 @@ SELECT * from onek WHERE unique1 in (VALUES(1200::bigint), (1));
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
-- VtA shouldn't depend on the side of the join probing with the VALUES expression.
 | 
					-- VtA shouldn't depend on the side of the join probing with the VALUES expression.
 | 
				
			||||||
EXPLAIN (COSTS OFF)
 | 
					EXPLAIN (COSTS OFF)
 | 
				
			||||||
SELECT c.oid,c.relname FROM pg_class c JOIN pg_am a USING (oid)
 | 
					SELECT c.unique1,c.ten FROM tenk1 c JOIN onek a USING (ten)
 | 
				
			||||||
WHERE a.oid IN (VALUES (1), (2));
 | 
					WHERE a.ten IN (VALUES (1), (2));
 | 
				
			||||||
                    QUERY PLAN                    
 | 
					                    QUERY PLAN                    
 | 
				
			||||||
---------------------------------------------------------
 | 
					--------------------------------------------------
 | 
				
			||||||
 Nested Loop
 | 
					 Hash Join
 | 
				
			||||||
   ->  Seq Scan on pg_am a
 | 
					   Hash Cond: (a.ten = c.ten)
 | 
				
			||||||
         Filter: (oid = ANY ('{1,2}'::oid[]))
 | 
					   ->  Seq Scan on onek a
 | 
				
			||||||
   ->  Index Scan using pg_class_oid_index on pg_class c
 | 
					         Filter: (ten = ANY ('{1,2}'::integer[]))
 | 
				
			||||||
         Index Cond: (oid = a.oid)
 | 
					   ->  Hash
 | 
				
			||||||
(5 rows)
 | 
					         ->  Seq Scan on tenk1 c
 | 
				
			||||||
 | 
					(6 rows)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EXPLAIN (COSTS OFF)
 | 
					EXPLAIN (COSTS OFF)
 | 
				
			||||||
SELECT c.oid,c.relname FROM pg_class c JOIN pg_am a USING (oid)
 | 
					SELECT c.unique1,c.ten FROM tenk1 c JOIN onek a USING (ten)
 | 
				
			||||||
WHERE c.oid IN (VALUES (1), (2));
 | 
					WHERE c.ten IN (VALUES (1), (2));
 | 
				
			||||||
                    QUERY PLAN                    
 | 
					                    QUERY PLAN                    
 | 
				
			||||||
---------------------------------------------------------------
 | 
					--------------------------------------------------
 | 
				
			||||||
 Hash Join
 | 
					 Hash Join
 | 
				
			||||||
   Hash Cond: (a.oid = c.oid)
 | 
					   Hash Cond: (c.ten = a.ten)
 | 
				
			||||||
   ->  Seq Scan on pg_am a
 | 
					   ->  Seq Scan on tenk1 c
 | 
				
			||||||
 | 
					         Filter: (ten = ANY ('{1,2}'::integer[]))
 | 
				
			||||||
   ->  Hash
 | 
					   ->  Hash
 | 
				
			||||||
         ->  Index Scan using pg_class_oid_index on pg_class c
 | 
					         ->  Seq Scan on onek a
 | 
				
			||||||
               Index Cond: (oid = ANY ('{1,2}'::oid[]))
 | 
					 | 
				
			||||||
(6 rows)
 | 
					(6 rows)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- Constant expressions are simplified
 | 
					-- Constant expressions are simplified
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1243,11 +1243,11 @@ SELECT * from onek WHERE unique1 in (VALUES(1200::bigint), (1));
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
-- VtA shouldn't depend on the side of the join probing with the VALUES expression.
 | 
					-- VtA shouldn't depend on the side of the join probing with the VALUES expression.
 | 
				
			||||||
EXPLAIN (COSTS OFF)
 | 
					EXPLAIN (COSTS OFF)
 | 
				
			||||||
SELECT c.oid,c.relname FROM pg_class c JOIN pg_am a USING (oid)
 | 
					SELECT c.unique1,c.ten FROM tenk1 c JOIN onek a USING (ten)
 | 
				
			||||||
WHERE a.oid IN (VALUES (1), (2));
 | 
					WHERE a.ten IN (VALUES (1), (2));
 | 
				
			||||||
EXPLAIN (COSTS OFF)
 | 
					EXPLAIN (COSTS OFF)
 | 
				
			||||||
SELECT c.oid,c.relname FROM pg_class c JOIN pg_am a USING (oid)
 | 
					SELECT c.unique1,c.ten FROM tenk1 c JOIN onek a USING (ten)
 | 
				
			||||||
WHERE c.oid IN (VALUES (1), (2));
 | 
					WHERE c.ten IN (VALUES (1), (2));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- Constant expressions are simplified
 | 
					-- Constant expressions are simplified
 | 
				
			||||||
EXPLAIN (COSTS OFF)
 | 
					EXPLAIN (COSTS OFF)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user