pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: \d tablename with psql over slow links...
Date: Mon, 24 Feb 2003 10:40:57 +0530
Message-ID: <200302241040.57946.mallah@trade-india.com> (raw)
In-Reply-To: <26640.1046058939@sss.pgh.pa.us>
References: <1042.219.65.235.8.1046018279.squirrel@mail.trade-india.com>
	<26640.1046058939@sss.pgh.pa.us>


thank you.

On Monday 24 February 2003 09:25 am, Tom Lane wrote:
> <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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

-- 

Regds
Mallah

----------------------------------------
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.



view thread (5+ messages)

Message-ID: <200302241040.57946.mallah@trade-india.com>
Permalink:  ../200302241040.57946.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200302241040.57946.mallah@trade-india.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah@trade-india.com, tgl@sss.pgh.pa.us
  Subject: Re: \d tablename with psql over slow links...
  In-Reply-To: <200302241040.57946.mallah@trade-india.com>
  References: <1042.219.65.235.8.1046018279.squirrel@mail.trade-india.com> <26640.1046058939@sss.pgh.pa.us> <200302241040.57946.mallah@trade-india.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox