From 5f677af2da8ca15516758a5b6c3af8565785977d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 24 Apr 2003 23:43:09 +0000 Subject: Adjust subquery qual pushdown rules so that we can push down a qual into a UNION that has some type coercions applied to the component queries, so long as the qual itself does not reference any columns that have such coercions. Per example from Jonathan Bartlett 24-Apr-03. --- src/include/optimizer/prep.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include/optimizer') diff --git a/src/include/optimizer/prep.h b/src/include/optimizer/prep.h index 5cde6096a1e..52d045c51a4 100644 --- a/src/include/optimizer/prep.h +++ b/src/include/optimizer/prep.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: prep.h,v 1.38 2003/03/05 20:01:04 tgl Exp $ + * $Id: prep.h,v 1.39 2003/04/24 23:43:09 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -59,6 +59,4 @@ extern Node *adjust_inherited_attrs(Node *node, Index old_rt_index, Oid old_relid, Index new_rt_index, Oid new_relid); -extern bool tlist_same_datatypes(List *tlist, List *colTypes, bool junkOK); - #endif /* PREP_H */ -- cgit v1.2.3