From 1d7dfb149643199652c2521e89120b50690ca09f Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Tue, 15 Feb 2005 01:03:47 +0000
Subject: [PATCH] Document usage of gettext_noop().

---
 src/include/c.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/include/c.h b/src/include/c.h
index 5f884d8f2f0..0430dcf449a 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/c.h,v 1.178 2004/12/31 22:03:18 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.179 2005/02/15 01:03:47 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -96,6 +96,12 @@
 #else
 #define gettext(x) (x)
 #endif
+
+/*
+ *	These strings are to be translation via xgettext.  We can't
+ *	call gettext() because it is located in variable initialization and
+ *	a function call can not be used.
+ */
 #define gettext_noop(x) (x)
 
 
-- 
GitLab