[PATCH] Add some useful asserts into View Options macroses - Mailing list pgsql-hackers

From Nikolay Shaplov
Subject [PATCH] Add some useful asserts into View Options macroses
Date
Msg-id 3634983.eHpMQ1mJnI@x200m
Whole thread Raw
Responses Re: [PATCH] Add some useful asserts into View Options macroses
List pgsql-hackers
This thread is a follow up to the thread https://www.postgresql.org/message-id/2620882.s52SJui4ql@x200m where I've been
tryingto remove StdRdOptions 
 
structure and replace it with unique structure for each relation kind.

I've decided to split that patch into smaller parts.

This part adds some asserts to ViewOptions macroses.
Since an option pointer there is converted into (ViewOptions *) it would be 
really good to make sure that this macros is called in proper context, and we 
do the convertation properly. At least when running tests with asserts turned 
on.

-- 
Software Developer: https://www.upwork.com/freelancers/~014a87e140ff02c0da
Body-oriented Therapist: https://vk.com/nataraj_rebalancing  (Russian)
Attachment

pgsql-hackers by date:

Previous
From: legrand legrand
Date:
Subject: Re: How to install login_hook in Postgres 10.5
Next
From: Andrew Dunstan
Date:
Subject: Re: New "-b slim" option in 2019b zic: should we turn that on?