Re: Getting lengths of variable fields - Mailing list pgsql-general

From Michelle Murrain
Subject Re: Getting lengths of variable fields
Date
Msg-id 01030518042000.14249@chicago.murrain.net
Whole thread Raw
In response to Re: Getting lengths of variable fields  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Monday 05 March 2001 05:55 pm, Tom Lane wrote:

> What Michelle seems to want is the declared limit on field width, not
> the actual width of any particular value.

Yes, that's exactly what I want.

> This info is stored in the 'atttypmod' field of pg_attribute, but I
> don't know whether DBD::Pg provides any handy interface to that.  You
> might have to get down-and-dirty enough to select it directly out of
> pg_attribute ...

I couldn't seem to find it - and I'm going to show my naivete here - how do I
get hold of it if there is no interface in DBD::Pg?

THanks!!

Michelle
------------
Michelle Murrain, Ph.D.
President
Norwottuck Technology Resources
mpm@norwottuck.com
http://www.norwottuck.com

pgsql-general by date:

Previous
From: Chris
Date:
Subject: Re: Re: RPMs for PHP accessing PostgreSQL via ODBC over RedHat
Next
From: Ted Gervais
Date:
Subject: System V IPC semaphore configuration.