Re: Reg: Records Size - Mailing list pgsql-admin

From John Barham
Subject Re: Reg: Records Size
Date
Msg-id 4f34febc0511110110h1a1453f0tb3997a88b61dfd1e@mail.gmail.com
Whole thread Raw
In response to Reg: Records Size  ("sandhya" <sandhyar@amiindia.co.in>)
List pgsql-admin
On 11/11/05, sandhya <sandhyar@amiindia.co.in> 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

pgsql-admin by date:

Previous
From: "sandhya"
Date:
Subject: Reg: Records Size
Next
From: "sandhya"
Date:
Subject: Re: Reg: Records Size