Re: psql :: support for \ev viewname and \sv viewname
Dean Rasheed <dean.a.rasheed@gmail.com>
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Petr Korobeinikov <pkorobeinikov@gmail.com>,
Jeevan Chalke <jeevan.chalke@enterprisedb.com>, Jeevan Chalke <jeevan.chalke@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2016-05-02T12:53:00Z
Lists: pgsql-hackers
Attachments
- 0001-Move-and-rename-fmtReloptionsArray.patch (text/x-patch) patch 0001
- 0002-Make-psql-s-ev-and-sv-commands-handle-view-reloption.patch (text/x-patch) patch 0002
On 27 April 2016 at 08:36, Dean Rasheed <dean.a.rasheed@gmail.com> wrote: > Here is a rough patch based on the way pg_dump handles this. It still > needs a bit of polishing -- in particular I think fmtReloptionsArray() > (copied from pg_dump) should probably be moved to string_utils.c so > that it can be shared between pg_dump and psql. Also, I'm not sure > that's the best name for it -- I think appendReloptionsArray() is a > more accurate description of what is does. > Here are updated patches doing that --- the first moves fmtReloptionsArray() from pg_dump.c to fe_utils/string_utils.c so that it can be shared by pg_dump and psql, and renames it to appendReloptionsArray(). The second patch fixes the actual psql bug. Regards, Dean
Commits
-
Fix psql's \ev and \sv commands so that they handle view reloptions.
- 9b66aa006f81 9.6.0 landed
-
Move and rename fmtReloptionsArray().
- 93a8c6fd6c5e 9.6.0 landed
-
pgindent run for 9.5
- 807b9e0dff66 9.5.0 cited