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

From John Barham
Subject Re: Reg: Records Size
Date
Msg-id 4f34febc0511110534i20d84cc6la1d67918e86b7aeb@mail.gmail.com
Whole thread Raw
In response to Re: Reg: Records Size  ("sandhya" <sandhyar@amiindia.co.in>)
List pgsql-admin
> I am using C.

Lucky you.  I use Python. ;)

> Yes i mean to allocate memory of each tuple resulting from a query.
> Is there any function which gives the size of a tuple?
> If so...Please tell me/Tell me how to proceed to do that?

From the manual:
http://www.postgresql.org/docs/8.0/interactive/libpq-exec.html#LIBPQ-EXEC-SELECT-INFO
will give you everything you need.

  John

pgsql-admin by date:

Previous
From: "sandhya"
Date:
Subject: Re: Reg: Records Size
Next
From: Josh O'Brien
Date:
Subject: upgrade