Re: [HACKERS] wishlist: PQfsize
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: E.Mergl@bawue.de (Edmund Mergl)
Cc: hackers@postgreSQL.org
Date: 1998-02-15T23:26:26Z
Lists: pgsql-hackers
> > We have a new atttypmod field that holds the length for the column as > > defined at table-creation time for char() and varchar(). Is that the > > number you want? > > > > -- > > Bruce Momjian > > maillist@candle.pha.pa.us > > > for varchar() and also for the datatype text it would be > nice to know the actual length. If this is not possible, > then the length at creation time is still better than -1. If you use binary cursors, you can use VARSIZE and VARDATA to see the size and data for a string type. -- Bruce Momjian maillist@candle.pha.pa.us