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

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: psql :: support for \ev viewname and \sv viewname
Дата
Msg-id CAEZATCW0iU=+aRQGEY6=okcnRgxuy-CYh9DTK_G1tp_Pkr2FGg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql :: support for \ev viewname and \sv viewname  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: psql :: support for \ev viewname and \sv viewname  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 3 July 2015 at 20:50, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.
>

This appears to be missing support for view options (WITH CHECK OPTION
and security_barrier), so editing a view with either of those options
will cause them to be stripped off.

Regards,
Dean



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: MultiXact member wraparound protections are now enabled
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql :: support for \ev viewname and \sv viewname