pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Byron Nikolaidis <byronn@insightdist.com>
To: PostgreSQL Hacker <pgsql-hackers@postgreSQL.org>
To: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Subject: retrieving varchar size
Date: Thu, 23 Apr 1998 10:45:55 -0400
Message-ID: <353F5423.85F6FBCB@insightdist.com> (raw)

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




view thread (41+ messages)  latest in thread

Message-ID: <353F5423.85F6FBCB@insightdist.com>
Permalink:  ../353F5423.85F6FBCB@insightdist.com/
Also on:    postgresql.org/message-id/353F5423.85F6FBCB@insightdist.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: byronn@insightdist.com, pgsql-hackers@postgreSQL.org
  Subject: Re: retrieving varchar size
  In-Reply-To: <353F5423.85F6FBCB@insightdist.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox