Add some assertions to view reloption macros
Peter Eisentraut <peter@eisentraut.org>
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: https://www.postgresql.org/message-id/flat/3634983.eHpMQ1mJnI@x200m
Files
| Path | Change | +/− |
|---|---|---|
| src/include/utils/rel.h | modified | +10 −6 |
Discussion
- [PATCH] Add some useful asserts into View Options macroses 5 messages · 2019-10-05 → 2019-11-08