Describe table and varchar lrngth - Mailing list pgsql-general

From Constantin Khatsckevich
Subject Describe table and varchar lrngth
Date
Msg-id 40F6426B.6050109@const.ru
Whole thread Raw
Responses Re: Describe table and varchar lrngth
List pgsql-general
Hello!

I need get ordered length of the varchcar field in PHP. But
pg_FieldLength return -1 (it's right), but I need to get max length for
this field. For example,
create table t (
   str varchar(40)
);

I need to get 40...


Help me please!


pgsql-general by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: tcl and rpms for rhel3
Next
From: Jeff Eckermann
Date:
Subject: Re: Getting started with replication