Skip to content

Commit 62a773c

Browse files
committed
Catch planner errors for autoprepared statements
1 parent 3ff3dca commit 62a773c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/tcop/postgres.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -5455,7 +5455,7 @@ exec_cached_query(const char *query_string, List *parsetree_list)
54555455
PG_CATCH();
54565456
{
54575457
/*
5458-
* In case of analyze errors revert back to original query processing
5458+
* In case of planner errors revert back to original query processing
54595459
* and disable autoprepare for this query to avoid such problems in future.
54605460
*/
54615461
FlushErrorState();

0 commit comments

Comments
 (0)