Re: Field size - Mailing list pgsql-general

From aliosa
Subject Re: Field size
Date
Msg-id 1345103408113-5720047.post@n5.nabble.com
Whole thread Raw
In response to Re: Field size  (Ludwig Kniprath <ludwig@kni-online.de>)
Responses Re: Field size  (Dmitriy Igrishin <dmitigr@gmail.com>)
List 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.


pgsql-general by date:

Previous
From: Andrew Hastie
Date:
Subject: Re: PG Installer - Licensing Issues
Next
From: Dmitriy Igrishin
Date:
Subject: Re: Field size