Re: Refactor "mutually exclusive options" error reporting code in parse_subscription_options
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>,
Peter Smith <smithpb2250@gmail.com>, Michael Paquier <michael@paquier.xyz>, Amul Sul <sulamul@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-07-01T11:07:50Z
Lists: pgsql-hackers
Attachments
- v10-0001-Refactor-function-parse_subscription_options.patch (application/octet-stream) patch v10-0001
On Wed, Jun 30, 2021 at 7:38 PM Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> wrote: > > PFA v9 patch set for further review. > The first patch looks mostly good to me. I have made some minor modifications to the 0001 patch: (a) added/edited few comments, (b) there is no need to initialize supported_opts variable in CreateSubscription, (c) used extra bracket in macro, (d) ran pgindent. Kindly check and let me know what you think of the attached? I am not sure whether second patch is an improvement over what we have currently but if you and others feel that is a good idea then you can submit the same after the main patch gets committed. -- With Regards, Amit Kapila.
Commits
-
Refactor function parse_subscription_options.
- 8aafb0261675 15.0 landed
-
Refactor function parse_output_parameters.
- 531737ddad21 14.0 cited
-
Refactor option handling of CLUSTER, REINDEX and VACUUM
- a3dc926009be 14.0 cited
-
Add assertion to quiet Coverity
- b1ff33fd9bb8 10.0 cited