Content-Length: 259462 | pFad | http://github.com/postgrespro/postgres/commit/7562a9bd7100702ce7878a17f4aaac1df08a8e09

A3 Fix locale options checking in CREATE DATABASE. · postgrespro/postgres@7562a9b · GitHub
Skip to content

Commit 7562a9b

Browse files
committed
Fix locale options checking in CREATE DATABASE.
Discussion: https://postgr.es/m/4ea13583-7305-40b0-8525-58381533e2b1@eisentraut.org Reported-by: Peter Eisentraut
1 parent d12b4ba commit 7562a9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/commands/dbcommands.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,8 @@ createdb(ParseState *pstate, const CreatedbStmt *stmt)
10731073
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
10741074
errmsg("BUILTIN_LOCALE cannot be specified unless locale provider is builtin")));
10751075
}
1076-
else if (dblocprovider != COLLPROVIDER_ICU)
1076+
1077+
if (dblocprovider != COLLPROVIDER_ICU)
10771078
{
10781079
if (diculocale)
10791080
ereport(ERROR,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7562a9bd7100702ce7878a17f4aaac1df08a8e09

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy