pgsql: Add some assertions to view reloption macros
Started by Peter Eisentrautover 6 years ago1 messagescomitters
Add some assertions to view reloption macros
In these macros, the rd_options pointer is cast to ViewOption *. Add
some assertions that the passed-in relation is actually a view before
doing that.
Author: Nikolay Shaplov <dhyan@nataraj.su>
Discussion: /messages/by-id/3634983.eHpMQ1mJnI@x200m
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/396773762425126a85243fc85a267d401496beb8
Modified Files
--------------
src/include/utils/rel.h | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)