Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group