mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Goodbye ABORT. Hello ERROR for all errors.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.8 1998/01/05 03:32:45 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.9 1998/01/07 21:04:37 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -647,7 +647,7 @@ deepRewriteQuery(Query *parsetree)
|
||||
|
||||
if (++numQueryRewriteInvoked > REWRITE_INVOKE_MAX)
|
||||
{
|
||||
elog(ABORT, "query rewritten %d times, may contain cycles",
|
||||
elog(ERROR, "query rewritten %d times, may contain cycles",
|
||||
numQueryRewriteInvoked - 1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user