]> granicus.if.org Git - postgresql/commitdiff
Update query cancel message:
authorBruce Momjian <bruce@momjian.us>
Fri, 16 Sep 2005 19:31:04 +0000 (19:31 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 16 Sep 2005 19:31:04 +0000 (19:31 +0000)
   errmsg("canceling query due to user request or statement timeout")));

src/backend/tcop/postgres.c

index f7d21c236211dd089c93119222e63ab023581822..d1eb30c6ba0d5a592441c7f378e71b4871d43325 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.458 2005/09/02 21:50:54 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.459 2005/09/16 19:31:04 momjian Exp $
  *
  * NOTES
  *       this is the "main" module of the postgres backend and
@@ -2205,7 +2205,7 @@ ProcessInterrupts(void)
                DisableCatchupInterrupt();
                ereport(ERROR,
                                (errcode(ERRCODE_QUERY_CANCELED),
-                                errmsg("canceling query due to user request")));
+                                errmsg("canceling query due to user request or statement timeout")));
        }
        /* If we get here, do nothing (probably, QueryCancelPending was reset) */
 }