projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d12b4ba
)
Fix locale options checking in CREATE DATABASE.
author
Jeff Davis
<jdavis@postgresql.org>
Wed, 1 May 2024 00:08:49 +0000
(17:08 -0700)
committer
Jeff Davis
<jdavis@postgresql.org>
Wed, 1 May 2024 00:32:03 +0000
(17:32 -0700)
Discussion: https://postgr.es/m/
4ea13583
-7305-40b0-8525-
58381533e2b1
@eisentraut.org
Reported-by: Peter Eisentraut
src/backend/commands/dbcommands.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/dbcommands.c
b/src/backend/commands/dbcommands.c
index cd06d1270c5e121715d87f988213790e8ea193e8..be629ea92cf8d58560eb80c3411c3afe9db54598 100644
(file)
--- a/
src/backend/commands/dbcommands.c
+++ b/
src/backend/commands/dbcommands.c
@@
-1073,7
+1073,8
@@
createdb(ParseState *pstate, const CreatedbStmt *stmt)
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
errmsg("BUILTIN_LOCALE cannot be specified unless locale provider is builtin")));
}
- else if (dblocprovider != COLLPROVIDER_ICU)
+
+ if (dblocprovider != COLLPROVIDER_ICU)
{
if (diculocale)
ereport(ERROR,