git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8589299) | patch
Improve error checking of CREATE COLLATION options.
2021年7月18日 10:08:34 +0000 (11:08 +0100)
2021年7月18日 10:08:34 +0000 (11:08 +0100)
commit ba620760c4c8ca90ff83ecf7e4d46f5ec4dabd7b
Improve error checking of CREATE COLLATION options.

Check for conflicting or redundant options, as we do for most other
commands. Specifying any option more than once is at best redundant,
and quite likely indicates a bug in the user's code.

While at it, improve the error for conflicting locale options by
adding detail text (the same as for CREATE DATABASE).

Bharath Rupireddy, reviewed by Vignesh C. Some additional hacking by
me.

Discussion: https://postgr.es/m/CALj2ACWtL6fTLdyF4R_YkPtf1YEDb6FUoD5DGAki3rpD+sWqiA@mail.gmail.com
src/backend/commands/collationcmds.c diff | blob | blame | history
src/test/regress/expected/collate.out diff | blob | blame | history
src/test/regress/sql/collate.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /