summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_postgres.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 16:35:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 16:35:00 +0000
commit862ffe93f7f5530e12816e57fbb77d58932c10ad (patch)
tree1f770c52c83988eb1b528dad0521d93924056e78 /tests/dialects/test_postgres.py
parentReleasing debian version 24.1.0-1. (diff)
downloadsqlglot-862ffe93f7f5530e12816e57fbb77d58932c10ad.tar.xz
sqlglot-862ffe93f7f5530e12816e57fbb77d58932c10ad.zip
Merging upstream version 25.0.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_postgres.py')
-rw-r--r--tests/dialects/test_postgres.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dialects/test_postgres.py b/tests/dialects/test_postgres.py
index 38c262f..74753be 100644
--- a/tests/dialects/test_postgres.py
+++ b/tests/dialects/test_postgres.py
@@ -8,6 +8,9 @@ class TestPostgres(Validator):
dialect = "postgres"
def test_postgres(self):
+ self.validate_identity(
+ 'CREATE TABLE x (a TEXT COLLATE "de_DE")', "CREATE TABLE x (a TEXT COLLATE de_DE)"
+ )
self.validate_identity("1.x", "1. AS x")
self.validate_identity("|/ x", "SQRT(x)")
self.validate_identity("||/ x", "CBRT(x)")