Re: \d tablename with psql over slow links...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: \d tablename with psql over slow links...
Дата
Msg-id 26640.1046058939@sss.pgh.pa.us
обсуждение исходный текст
Ответ на \d tablename with psql over slow links...  (<mallah@trade-india.com>)
Ответы Re: \d tablename with psql over slow links...  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Список pgsql-admin
<mallah@trade-india.com> writes:
> I observed that a table which used to take 16 secs with \d was only taking
> 6 secs if the query for default attribute values are shifted to top level query in
> psql/describe.c  ( function  describeOneTableDetails ) .

I've applied this patch with some small improvements (to shortcircuit
the sub-SELECT for columns with no default).

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: \d tablename with psql over slow links...
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: \d tablename with psql over slow links...