X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 57962D6D46 for ; Fri, 11 Nov 2005 05:10:39 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25691-06 for ; Fri, 11 Nov 2005 09:10:37 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by svr1.postgresql.org (Postfix) with ESMTP id D4DF9D6D4F for ; Fri, 11 Nov 2005 05:10:37 -0400 (AST) Received: by wproxy.gmail.com with SMTP id 71so494472wra for ; Fri, 11 Nov 2005 01:10:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jRwL7xw/BPJSYiuYgV/Il3wmP8YCBHXb4IKJduzgoCCYnYCMzpQ4IcTSdEH/hRoizTXSWVyMN23khA7SFL/NnbBnyRNUscFyb7JVs/Vpbq/UBA3jguB6g13ETtruaD0CljcVZxuFH++wWXKgxy8PA4LREyQMWfxTxvK+w5v0BD4= Received: by 10.65.156.11 with SMTP id i11mr1638061qbo; Fri, 11 Nov 2005 01:10:38 -0800 (PST) Received: by 10.65.83.10 with HTTP; Fri, 11 Nov 2005 01:10:38 -0800 (PST) Message-ID: <4f34febc0511110110h1a1453f0tb3997a88b61dfd1e@mail.gmail.com> Date: Fri, 11 Nov 2005 18:10:38 +0900 From: John Barham To: sandhya Subject: Re: Reg: Records Size Cc: postgre , Sivakumar K In-Reply-To: <012a01c5e69e$2e454500$cd00000a@amiindiahjwbgh> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <012a01c5e69e$2e454500$cd00000a@amiindiahjwbgh> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.1 required=5 tests=[AWL=0.100] X-Spam-Score: 0.1 X-Spam-Level: X-Archive-Number: 200511/132 X-Sequence-Number: 19505 On 11/11/05, sandhya wrote: > please...tell me if there is possibility of finding out the size of a > record in the specified table. > Is there any built in function to know the size of each record by passing= a > query? > I need this Inorder to allocate the memory after retrieving the records. > Pls suggest me. You are not giving enough information. What programming language are you using? What do you mean by a "record"? Do you want to know much memory to allocate to store each tuple resulting from a query? If so, that will obviously depend on the type of each column and the size of each field. John Barham