summaryrefslogtreecommitdiff
path: root/src/include/common/unicode_version.h
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2023-11-01 22:47:06 -0700
committerJeff Davis <jdavis@postgresql.org>2023-11-01 22:47:06 -0700
commita02b37fc083239a07f1ac02951d208235efb218b (patch)
tree368caec52740ec496992c2793b6a0c33db5aa020 /src/include/common/unicode_version.h
parent7021d3b1766420ac4968fa0ff81873e81b7fd641 (diff)
Additional unicode primitive functions.
Introduce unicode_version(), icu_unicode_version(), and unicode_assigned(). The latter requires introducing a new lookup table for the Unicode General Category, which is generated along with the other Unicode lookup tables. Discussion: https://postgr.es/m/CA+TgmoYzYR-yhU6k1XFCADeyj=Oyz2PkVsa3iKv+keM8wp-F_A@mail.gmail.com Reviewed-by: Peter Eisentraut
Diffstat (limited to 'src/include/common/unicode_version.h')
-rw-r--r--src/include/common/unicode_version.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/common/unicode_version.h b/src/include/common/unicode_version.h
new file mode 100644
index 00000000000..15b839b00b3
--- /dev/null
+++ b/src/include/common/unicode_version.h
@@ -0,0 +1,14 @@
+/*-------------------------------------------------------------------------
+ *
+ * unicode_version.h
+ * Unicode version used by Postgres.
+ *
+ * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * src/include/common/unicode_version.h
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#define PG_UNICODE_VERSION "15.1"