diff options
Diffstat (limited to 'src/backend/storage/ipc/ipc.c')
-rw-r--r-- | src/backend/storage/ipc/ipc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/storage/ipc/ipc.c b/src/backend/storage/ipc/ipc.c index da6dc083060..e28127b03fe 100644 --- a/src/backend/storage/ipc/ipc.c +++ b/src/backend/storage/ipc/ipc.c @@ -13,7 +13,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/ipc/ipc.c,v 1.107 2010/03/20 00:58:09 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/storage/ipc/ipc.c,v 1.108 2010/07/06 19:18:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -165,13 +165,13 @@ proc_exit_prepare(int code) CritSectionCount = 0; /* - * Also clear the error context stack, to prevent error callbacks - * from being invoked by any elog/ereport calls made during proc_exit. - * Whatever context they might want to offer is probably not relevant, - * and in any case they are likely to fail outright after we've done - * things like aborting any open transaction. (In normal exit scenarios - * the context stack should be empty anyway, but it might not be in the - * case of elog(FATAL) for example.) + * Also clear the error context stack, to prevent error callbacks from + * being invoked by any elog/ereport calls made during proc_exit. Whatever + * context they might want to offer is probably not relevant, and in any + * case they are likely to fail outright after we've done things like + * aborting any open transaction. (In normal exit scenarios the context + * stack should be empty anyway, but it might not be in the case of + * elog(FATAL) for example.) */ error_context_stack = NULL; /* For the same reason, reset debug_query_string before it's clobbered */ |