summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2008-10-09 22:22:31 +0000
committerAlvaro Herrera2008-10-09 22:22:31 +0000
commit523bbb1a2d08bad5101b15d2ea699538bc2e5c93 (patch)
tree519ea5df987a32e523055d9080fd7ce32788e52d
parent782d28291dcb903a82e7e66718072e8d258476b4 (diff)
Fix two flaws in comments I just introduced, pointed out by Tom.
-rw-r--r--src/include/utils/elog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h
index ed21d4f40c..48763521fd 100644
--- a/src/include/utils/elog.h
+++ b/src/include/utils/elog.h
@@ -97,7 +97,7 @@
* wish to use a different message catalog from the backend's. To avoid having
* one copy of the default text domain per .o file, we define it as NULL here
* and have errstart insert the default text domain. Modules can either use
- * ereport_domain() directly, or preferrably they can override the TEXTDOMAIN
+ * ereport_domain() directly, or preferably they can override the TEXTDOMAIN
* macro.
*----------
*/
@@ -281,7 +281,7 @@ typedef struct ErrorData
const char *filename; /* __FILE__ of ereport() call */
int lineno; /* __LINE__ of ereport() call */
const char *funcname; /* __func__ of ereport() call */
- const char *domain; /* message domain, NULL if default */
+ const char *domain; /* message domain */
int sqlerrcode; /* encoded ERRSTATE */
char *message; /* primary error message */
char *detail; /* detail error message */