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 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(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных