summaryrefslogtreecommitdiff
path: root/src/include/utils/formatting.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-02-08 23:04:18 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-02-08 23:04:18 +0200
commit414c5a2ea65cbd38d79ffdf9b1fde7cc75c134e0 (patch)
tree016efd0c7108f659ea4f3c52ea54d78e1e5449e1 /src/include/utils/formatting.h
parent1703f0e8da2e8e3eccb6e12879c011ba106f8a62 (diff)
Per-column collation support
This adds collation support for columns and domains, a COLLATE clause to override it per expression, and B-tree index support. Peter Eisentraut reviewed by Pavel Stehule, Itagaki Takahiro, Robert Haas, Noah Misch
Diffstat (limited to 'src/include/utils/formatting.h')
-rw-r--r--src/include/utils/formatting.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/formatting.h b/src/include/utils/formatting.h
index 7cd3be11317..175d396297c 100644
--- a/src/include/utils/formatting.h
+++ b/src/include/utils/formatting.h
@@ -20,9 +20,9 @@
#include "fmgr.h"
-extern char *str_tolower(const char *buff, size_t nbytes);
-extern char *str_toupper(const char *buff, size_t nbytes);
-extern char *str_initcap(const char *buff, size_t nbytes);
+extern char *str_tolower(const char *buff, size_t nbytes, Oid collid);
+extern char *str_toupper(const char *buff, size_t nbytes, Oid collid);
+extern char *str_initcap(const char *buff, size_t nbytes, Oid collid);
extern Datum timestamp_to_char(PG_FUNCTION_ARGS);
extern Datum timestamptz_to_char(PG_FUNCTION_ARGS);