X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D76F4474E53 for ; Mon, 24 Feb 2003 00:10:39 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 85710-02 for ; Mon, 24 Feb 2003 00:10:29 -0500 (EST) Received: from rtlocal.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 96E324758E6 for ; Mon, 24 Feb 2003 00:10:20 -0500 (EST) Received: (qmail 1461 invoked from network); 24 Feb 2003 05:08:35 -0000 Received: from unknown (HELO system67.trade-india-local.com) (192.168.0.67) by infocom-236-129-del.trade-india.com with SMTP; 24 Feb 2003 05:08:35 -0000 From: Rajesh Kumar Mallah Organization: Infocom Network Limited To: Tom Lane Subject: Re: \d tablename with psql over slow links... Date: Mon, 24 Feb 2003 10:40:57 +0530 User-Agent: KMail/1.5 Cc: pgsql-admin@postgresql.org References: <1042.219.65.235.8.1046018279.squirrel@mail.trade-india.com> <26640.1046058939@sss.pgh.pa.us> In-Reply-To: <26640.1046058939@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302241040.57946.mallah@trade-india.com> X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/368 X-Sequence-Number: 7566 thank you. On Monday 24 February 2003 09:25 am, Tom Lane wrote: > 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.