diff options
author | Dean Rasheed <dean.a.rasheed@gmail.com> | 2021-07-18 11:08:34 +0100 |
---|---|---|
committer | Dean Rasheed <dean.a.rasheed@gmail.com> | 2021-07-18 11:08:34 +0100 |
commit | ba620760c4c8ca90ff83ecf7e4d46f5ec4dabd7b (patch) | |
tree | eb7c694b7dc43eed9b295bf8ba5a74501a85dacc /src/backend/parser/parse_utilcmd.c | |
parent | 8589299e03fff012e0bbb9716693750a0d68eef7 (diff) | |
download | postgresql-ba620760c4c8ca90ff83ecf7e4d46f5ec4dabd7b.tar.gz postgresql-ba620760c4c8ca90ff83ecf7e4d46f5ec4dabd7b.zip |
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
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions