]> granicus.if.org Git - postgresql/commit
Fix psql's \ev and \sv commands so that they handle view reloptions.
authorDean Rasheed <dean.a.rasheed@gmail.com>
Fri, 6 May 2016 11:48:27 +0000 (12:48 +0100)
committerDean Rasheed <dean.a.rasheed@gmail.com>
Fri, 6 May 2016 11:48:27 +0000 (12:48 +0100)
commit9b66aa006f81b2705337ca223daeeabf4db6453a
tree40b3c985e056d7ab7e390e6095b19a6b27704271
parent93a8c6fd6c5eeb61c12402f616a327d998a731c4
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
src/bin/psql/command.c