Re: psql's \d functions broken for views in current sources

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql's \d functions broken for views in current sources
Дата
Msg-id 200010170341.XAA05776@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: psql's \d functions broken for views in current sources  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Was this addressed?


> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > Tom Lane wrote:
> >> I assume this breakage is from the recent RELKIND_VIEW change;
> >> probably psql didn't get updated to know about the new relkind.
> 
> > Probably psql uses pg_views though I don't remember correctly.
> > It seemd that pg_views(initdb) should be changed first.
> 
> No, pg_views still works --- although it could be made far more
> efficient (don't need the WHERE EXISTS(...) test anymore, just look
> at relkind).  So I don't think that explains why psql is misbehaving.
> 
> You are right that we ought to change the definition of pg_views,
> anyway.
> 
>             regards, tom lane
> 


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: length coerce for bpchar is broken since 7.0
Следующее
От: Tom Lane
Дата:
Сообщение: Re: The lightbulb just went on...