1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Refactor function parse_subscription_options.

Instead of using multiple parameters in parse_subscription_options
function signature, use the struct SubOpts that encapsulate all the
subscription options and their values. It will be useful for future work
where we need to add other options in the subscription. Also, use bitmaps
to pass the supported and retrieve the specified options much like the way
it is done in the commit a3dc926009.

Author: Bharath Rupireddy
Reviewed-By: Peter Smith, Amit Kapila, Alvaro Herrera
Discussion: https://postgr.es/m/CALj2ACXtoQczfNsDQWobypVvHbX2DtgEHn8DawS0eGFwuo72kw@mail.gmail.com
This commit is contained in:
Amit Kapila
2021-07-06 07:46:50 +05:30
parent 9ee91cc583
commit 8aafb02616
2 changed files with 202 additions and 228 deletions

View File

@ -2511,6 +2511,7 @@ StringInfoData
StripnullState
SubLink
SubLinkType
SubOpts
SubPlan
SubPlanState
SubRemoveRels