Re: Field size

From: aliosa <constantinica_alin(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Field size
Date: 2012-08-16 07:50:08
Message-ID: 1345103408113-5720047.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello
I am using libpq to find information about fileds of table ( type and size).
I have a problem with getting the sizeof varchar fields.
If a table has a fiels varchar[35] and want to obtain 35.
I used PQgetlength or PQfsize but is not good for my work.
Can someone tell me what function shall I use to get the size of filed ?

Thank you
Alin

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Field-size-tp1878962p5720047.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message sayeed 2012-08-16 09:11:20 You cannot do PITR with streaming replication - true?
Previous Message Toby Corkindale 2012-08-16 07:45:18 Re: success with postgresql on beaglebone