summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian2005-03-16 00:02:49 +0000
committerBruce Momjian2005-03-16 00:02:49 +0000
commit494f30c95370cae30984a5f6ec6c200065c64919 (patch)
tree4c417118c21b85888a7c26f967302e8ee948d086 /src/include
parent963ffe4cc4a6443119837e763952afd39b2012c8 (diff)
Prevent locale-aware handling of upper, lower, and initcap when the
locale is C. Backpatch to 8.0.X because some operating systems were throwing errors for such operations, rather than ignoring the locale when it was C.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/pg_locale.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h
index 6be1df3ab14..ef138d1bcbf 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 2005/01/01 05:43:09 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/pg_locale.h,v 1.20 2005/03/16 00:02:49 momjian Exp $
*
* Copyright (c) 2002-2005, PostgreSQL Global Development Group
*
@@ -32,6 +32,7 @@ extern const char *locale_time_assign(const char *value,
bool doit, GucSource source);
extern bool lc_collate_is_c(void);
+extern bool lc_ctype_is_c(void);
/*
* Return the POSIX lconv struct (contains number/money formatting