Fix two flaws in comments I just introduced, pointed out by Tom.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 9 Oct 2008 22:22:31 +0000 (22:22 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 9 Oct 2008 22:22:31 +0000 (22:22 +0000)
src/include/utils/elog.h

index ed21d4f40c6dd7c3e5bd3bea5971fecf69ebfc4f..48763521fdea3de86b23f9b127655b7fa162f629 100644 (file)
@@ -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 */