retrieving varchar size - Mailing list pgsql-interfaces

From Byron Nikolaidis
Subject retrieving varchar size
Date
Msg-id 353F5423.85F6FBCB@insightdist.com
Whole thread Raw
Responses Re: [HACKERS] retrieving varchar size  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-interfaces
Hello,

I was wondering if it would be possible, in the Postgres backend, to
send back the defined column size for the varchar data type (and
possibly the char() type, i.e., bpchar) on a query?  Currently, it just
sends back -1 for the size, which makes it difficult in the frontend
(i.e., odbc driver) to determine what the size of the column is.

Thank you,

Byron


pgsql-interfaces by date:

Previous
From: Pierre Habraken
Date:
Subject: Re: [INTERFACES] JBuilder QueryDataSet: Can't browse tables in Query Editor
Next
From: Byron Nikolaidis
Date:
Subject: Re: [INTERFACES] more than 100 records