Re: psql :: support for \ev viewname and \sv viewname

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Petr Korobeinikov <pkorobeinikov(at)gmail(dot)com>
Cc: Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>, Jeevan Chalke <jeevan(dot)chalke(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql :: support for \ev viewname and \sv viewname
Date: 2015-07-03 19:50:43
Message-ID: 14798.1435953043@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Petr Korobeinikov <pkorobeinikov(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2015-07-03 19:57:36 Re: WAL logging problem in 9.4.3?
Previous Message Heikki Linnakangas 2015-07-03 18:57:00 Re: Fix broken Install.bat when target directory contains a space