Re: psql :: support for \ev viewname and \sv viewname
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Petr Korobeinikov <pkorobeinikov@gmail.com>
Cc: Jeevan Chalke <jeevan.chalke@enterprisedb.com>,
Jeevan Chalke <jeevan.chalke@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2015-07-03T19:50:43Z
Lists: pgsql-hackers
Petr Korobeinikov <pkorobeinikov@gmail.com> writes: > Fixed. Now both \ev and \sv numbering lines starting with "1". New version > attached. Applied with a fair amount of mostly-cosmetic adjustment. > As I've already noticed that pg_get_viewdef() does not support full syntax > of creating or replacing views. Oh? If that were true, pg_dump wouldn't work on such views. It is kind of a PITA for this purpose that it doesn't include the CREATE text for you, but we're surely not changing that behavior now. regards, tom lane
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