Re: Reg: Records Size

From: John Barham <jbarham(at)gmail(dot)com>
To: sandhya <sandhyar(at)amiindia(dot)co(dot)in>
Cc: postgre <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Reg: Records Size
Date: 2005-11-11 13:34:25
Message-ID: 4f34febc0511110534i20d84cc6la1d67918e86b7aeb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Josh O'Brien 2005-11-11 16:08:58 upgrade
Previous Message sandhya 2005-11-11 10:20:15 Re: Reg: Records Size