How to obtain the max length of a varchar(50) field. - Mailing list pgsql-novice

From Mauro Ziliani
Subject How to obtain the max length of a varchar(50) field.
Date
Msg-id 4DC264E8.1070909@faresoftware.it
Whole thread Raw
Responses Re: How to obtain the max length of a varchar(50) field.  (Simon Riggs <simon@2ndQuadrant.com>)
Re: How to obtain the max length of a varchar(50) field.  (Andreas Kretschmer <akretschmer@spamfence.net>)
List pgsql-novice
Hi all.
I'm working with Postgres 9.0 and wxWidgets.
I need to query the db about a field of a table.

The table T has a field varchar(50).

table: TAB0
customer: varchar(50)

How can I get the max size of the field?

The PQfsize function give me -1 because the field has dynamic size.

Can you help me?

Best regards
   MZ.

pgsql-novice by date:

Previous
From: Sean Davis
Date:
Subject: Re: Looking for table in PostregSQL that contains Operating System and Processor information
Next
From: ALT SHN
Date:
Subject: Re: [GRASS-user] OCR