From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add some assertions to view reloption macros
Date: Fri, 01 Nov 2019 12:29:39 +0000
Message-ID: <E1iQW3f-0007gM-4O@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Add some assertions to view reloption macros
In-Reply-To: <E1iQW3f-0007gM-4O@gemulon.postgresql.org>
References: <E1iQW3f-0007gM-4O@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox