Re: How to obtain the max length of a varchar(50) field.
От
Mauro Ziliani
Тема
Re: How to obtain the max length of a varchar(50) field.
Дата
Msg-id
4DC2775E.2070402@faresoftware.it
Ответ на
Re: How to obtain the max length of a varchar(50) field. (Simon Riggs)
Список
Дерево обсуждения
How to obtain the max length of a varchar(50) field. Mauro Ziliani <mauro@faresoftware.it>
Re: How to obtain the max length of a varchar(50) field. Andreas Kretschmer <akretschmer@spamfence.net>
Re: How to obtain the max length of a varchar(50) field. Mauro Ziliani <mauro@faresoftware.it>
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. Mauro Ziliani <mauro@faresoftware.it>
On 05/05/2011 11:03, Simon Riggs wrote: > On Thu, May 5, 2011 at 9:50 AM, Mauro Ziliani wrote: >> 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? > Try PQfmod() > Ok I'll try it. Reading I skip this function. Thank you. MZ
В списке pgsql-novice по дате отправления
От: Andreas Kretschmer
Дата: