retrieving varchar size

From: Byron Nikolaidis <byronn(at)insightdist(dot)com>
To: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>, "pgsql-interfaces(at)postgreSQL(dot)org" <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: retrieving varchar size
Date: 1998-04-23 14:45:55
Message-ID: 353F5423.85F6FBCB@insightdist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-04-23 14:51:43 Re: [PORTS] BSDI-3.1
Previous Message Bruce Momjian 1998-04-23 13:52:06 Re: [HACKERS] multi-byte aware char_length() etc.

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 1998-04-23 15:32:57 RE: [INTERFACES] JBuilder QueryDataSet: Can't browse tables in Query Editor
Previous Message Pierre Habraken 1998-04-23 14:17:47 Re: [INTERFACES] JBuilder QueryDataSet: Can't browse tables in Query Editor