Re: Selecting a constant question - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Selecting a constant question
Date
Msg-id 466DCDD8.9000101@dunslane.net
Whole thread Raw
In response to Re: Selecting a constant question  ("Dann Corbit" <DCorbit@connx.com>)
List 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




pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Selecting a constant question
Next
From: Tom Lane
Date:
Subject: Re: Selecting a constant question