Re: Enhanced error message to include hint messages for redundant options error
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: vignesh C <vignesh21@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-04-27T00:53:56Z
Lists: pgsql-hackers
On Mon, Apr 26, 2021 at 9:10 PM Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> wrote: > > I found another problem with collationcmds.c is that it doesn't error > out if some of the options are specified more than once, something > like below. I think the option checking "for loop" in DefineCollation > needs to be reworked. > CREATE COLLATION case_insensitive (provider = icu, provider = > someother locale = '@colStrength=secondary', deterministic = false, > deterministic = true); I'm thinking that the above problem should be discussed separately. I will start a new thread soon on this. With Regards, Bharath Rupireddy. EnterpriseDB: http://www.enterprisedb.com
Commits
-
Improve reporting of "conflicting or redundant options" errors.
- 2bfb50b3df11 15.0 landed
-
Refactor function parse_subscription_options.
- 8aafb0261675 15.0 cited