Re: psql :: support for \ev viewname and \sv viewname
Fabrízio de Royes Mello <fabriziomello@gmail.com>
From: Fabrízio de Royes Mello <fabriziomello@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Petr Korobeinikov <pkorobeinikov@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2015-05-04T17:33:16Z
Lists: pgsql-hackers
On Mon, May 4, 2015 at 6:26 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote: > > > 2015-05-04 11:21 GMT+02:00 Petr Korobeinikov <pkorobeinikov@gmail.com>: > >> Hackers! >> >> I'm proposing to add two new subcommands in psql: >> 1. \ev viewname - edit view definition with external editor (like \ef for >> function) >> 2. \sv viewname - show view definition (like \sf for function, for >> consistency) >> > > +1 > > +1 During the FISL13 [1] (year 2012) me and other friends (Leonardo César, Dickson Guedes and Fernando Ike) implemented a very WIP patch [2] to support the "\ev" subcommand in psql. Unfortunately we didn't go ahead with this work. :-( I'll do some reviews. Regards, [1] http://softwarelivre.org/fisl13?lang=en [2] https://github.com/lhcezar/postgres/commit/b4bfc3b17b4a32850d6035165209b2b82746190a -- Fabrízio de Royes Mello Consultoria/Coaching PostgreSQL >> Timbira: http://www.timbira.com.br >> Blog: http://fabriziomello.github.io >> Linkedin: http://br.linkedin.com/in/fabriziomello >> Twitter: http://twitter.com/fabriziomello >> Github: http://github.com/fabriziomello
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