summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2006-01-05 00:55:07 +0000
committerTom Lane2006-01-05 00:55:07 +0000
commit7179b96be9809029896737d95e537e9b4a370bf0 (patch)
tree4c7ef4c809155c87bee0b52af118c98aa3cd34ee /src/include
parent6c2fa4888594d1ff7fd357f2bd00aa1e1f169088 (diff)
Arrange to set the LC_XXX environment variables to match our locale setup.
Back-patch of previous fix in HEAD for plperl-vs-locale issue.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/pg_locale.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h
index 47d6b38b30f..577ba124851 100644
--- a/src/include/utils/pg_locale.h
+++ b/src/include/utils/pg_locale.h
@@ -2,7 +2,7 @@
*
* PostgreSQL locale utilities
*
- * $PostgreSQL: pgsql/src/include/utils/pg_locale.h,v 1.19.4.1 2005/03/16 00:03:02 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/pg_locale.h,v 1.19.4.2 2006/01/05 00:55:07 tgl Exp $
*
* Copyright (c) 2002-2005, PostgreSQL Global Development Group
*
@@ -31,6 +31,8 @@ extern const char *locale_numeric_assign(const char *value,
extern const char *locale_time_assign(const char *value,
bool doit, GucSource source);
+extern char *pg_perm_setlocale(int category, const char *locale);
+
extern bool lc_collate_is_c(void);
extern bool lc_ctype_is_c(void);