mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Use the new text domain names ("postgres-8.4" instead of "postgres")
Hiroshi Inoue
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* (currently mule internal code (mic) is used)
|
||||
* Tatsuo Ishii
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.76 2009/01/04 18:37:35 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.77 2009/01/19 15:34:23 mha Exp $
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
@@ -873,7 +873,7 @@ SetDatabaseEncoding(int encoding)
|
||||
*/
|
||||
#ifdef ENABLE_NLS
|
||||
if (encoding == PG_UTF8)
|
||||
if (bind_textdomain_codeset("postgres", "UTF-8") == NULL)
|
||||
if (bind_textdomain_codeset(textdomain(NULL), "UTF-8") == NULL)
|
||||
elog(LOG, "bind_textdomain_codeset failed");
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user