[PATCH] Add some useful asserts into View Options macroses

Поиск
Список
Период
Сортировка
От Nikolay Shaplov
Тема [PATCH] Add some useful asserts into View Options macroses
Дата
Msg-id 3634983.eHpMQ1mJnI@x200m
обсуждение исходный текст
Ответы Re: [PATCH] Add some useful asserts into View Options macroses  (Robert Haas <robertmhaas@gmail.com>)
Список 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)
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: legrand legrand
Дата:
Сообщение: Re: How to install login_hook in Postgres 10.5
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: New "-b slim" option in 2019b zic: should we turn that on?