Re: \d tablename with psql over slow links... - Mailing list pgsql-admin

From Tom Lane
Subject Re: \d tablename with psql over slow links...
Date
Msg-id 26640.1046058939@sss.pgh.pa.us
Whole thread Raw
In response to \d tablename with psql over slow links...  (<mallah@trade-india.com>)
Responses Re: \d tablename with psql over slow links...  (Rajesh Kumar Mallah <mallah@trade-india.com>)
List 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 by date:

Previous
From:
Date:
Subject: Re: \d tablename with psql over slow links...
Next
From: Rajesh Kumar Mallah
Date:
Subject: Re: \d tablename with psql over slow links...