ecpg_gettext.patch

text/plain

Filename: ecpg_gettext.patch
Type: text/plain
Part: 0
Message: [PATCH]Fix for ecpglib's native language messages output

Patch

Format: unified
File+
src/interfaces/ecpg/ecpglib/misc.c 1 1
diff --git a/postgresql-9.1.4org/src/interfaces/ecpg/ecpglib/misc.c b/postgresql-9.1.4new/src/interfaces/ecpg/ecpglib/misc.c
index c29f933..ef7e634 100644
--- a/postgresql-9.1.4org/src/interfaces/ecpg/ecpglib/misc.c
+++ b/postgresql-9.1.4new/src/interfaces/ecpg/ecpglib/misc.c
@@ -497,7 +497,7 @@ ecpg_gettext(const char *msgid)
 #endif
 	}
 
-	return dgettext(PG_TEXTDOMAIN("ecpg"), msgid);
+	return dgettext(PG_TEXTDOMAIN("ecpglib"), msgid);
 }
 #endif   /* ENABLE_NLS */