pgsql: Fix psql's \ev and \sv commands so that they handle view relopti - Mailing list pgsql-committers

From Dean Rasheed
Subject pgsql: Fix psql's \ev and \sv commands so that they handle view relopti
Date
Msg-id E1ayeGV-0002ro-MF@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix psql's \ev and \sv commands so that they handle view reloptions.

Commit 8eb6407aaeb6cbd972839e356b436bb698f51cff added support for
editing and showing view definitions, but neglected to account for
view options such as security_barrier and WITH CHECK OPTION which are
not returned by pg_get_viewdef() and so need special handling.

Author: Dean Rasheed
Reviewed-by: Peter Eisentraut
Discussion: http://www.postgresql.org/message-id/CAEZATCWZjCgKRyM-agE0p8ax15j9uyQoF=qew7D2xB6cF76T8A@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9b66aa006f81b2705337ca223daeeabf4db6453a

Modified Files
--------------
src/bin/psql/command.c | 77 +++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 70 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Further 9.6 release note improvements.
Next
From: Dean Rasheed
Date:
Subject: pgsql: Move and rename fmtReloptionsArray().