pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Benjamin Scherrey <scherrey@proteus-tech.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Can't get more than 255 chars out of memo field in Acc
Date: Wed, 27 Nov 2002 12:08:35 -0800 (PST)
Message-ID: <20021127200835.58606.qmail@web20801.mail.yahoo.com> (raw)
In-Reply-To: <21355.1038426981@sss.pgh.pa.us>


--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Jeff Eckermann <jeff_eckermann@yahoo.com> writes:
> > The implication is, there is no workaround.  You
> will
> > need to change the table definitions in your
> > PostgreSQL database to use varchar(n) datatypes
> > whereever you want Access to see text.
> 
> I wonder whether we could/should hack our ODBC
> driver to report "text"
> columns as "varchar(n)" (and if so, what n should we
> use)?  Seems like
> enough people want to use Access that this would be
> a useful option.
> 
> 			regards, tom lane

The problem lies in the Access distinction between
"text" type, which is fully functional but limited in
size (the OP's problem), and "memo", which allows much
more storage, but is limited in functionality: "memo"
fields cannot be indexed, sorted, grouped by, joined
against etc.  

The driver can presently render text as "text" or as
"memo", depending on the chosen configuration.  I
don't see how it could reasonably distinguish between
two text fields so as to call one "text" and the other
"memo".

I would say that this is just one of those quirks that
an Access user/developer will need to be aware of. 
Which is to be discussed in another thread ...


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



view thread (23+ messages)  latest in thread

Message-ID: <20021127200835.58606.qmail@web20801.mail.yahoo.com>
Permalink:  ../20021127200835.58606.qmail@web20801.mail.yahoo.com/
Also on:    postgresql.org/message-id/20021127200835.58606.qmail@web20801.mail.yahoo.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: jeff_eckermann@yahoo.com, tgl@sss.pgh.pa.us, scherrey@proteus-tech.com
  Subject: Re: Can't get more than 255 chars out of memo field in Acc
  In-Reply-To: <20021127200835.58606.qmail@web20801.mail.yahoo.com>
  References: <21355.1038426981@sss.pgh.pa.us> <20021127200835.58606.qmail@web20801.mail.yahoo.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