Re: Selecting a constant question
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Dann Corbit <DCorbit@connx.com>
Cc: Martijn van Oosterhout <kleptog@svana.org>, pgsql-hackers@postgresql.org, Larry McGhaw <lmcghaw@connx.com>
Date: 2007-06-11T22:34:00Z
Lists: pgsql-hackers
Dann Corbit wrote: > I have a PostgreSQL feature request: > > Report the maximum size of a variable length string from the server. > > Surely, we cannot be the only people who will need this information. If > (for example) someone wants to bind to a grid, then the maximum size has > to be known in advance. > > > > Does PQfmod not tell you what you need if the field is varchar(n) ? cheers andrew