Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d4e6f88

Browse files
committed
add missing emptying of the error stack in the PG_CATCH section
1 parent 2261734 commit d4e6f88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vops.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4568,6 +4568,7 @@ vops_substitute_tables_with_projections(char const* queryString, Query *query)
45684568
* We are leaking some relcache entries in case of error, but it is better
45694569
* then aborting the query
45704570
*/
4571+
FlushErrorState();
45714572
}
45724573
PG_END_TRY();
45734574
}

0 commit comments

Comments
 (0)