pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Finn Lassen <dcio@AxiomInt.com>
Cc: Postgresql ODBC List <pgsql-odbc@postgresql.org>
Subject: Re: Need help with Visual Basic 6 and PostgreSQL
Date: Fri, 23 Nov 2007 18:09:23 -0800 (PST)
Message-ID: <406387.75407.qm@web31804.mail.mud.yahoo.com> (raw)
In-Reply-To: <4747840A.9060209@AxiomInt.com>

--- On Fri, 11/23/07, Finn Lassen <dcio@AxiomInt.com> wrote:
> I don't understand the difference between "LongVarchar" and
> "Varchar", 
> but I have to use B1 whether I use the ANSI or UNICODE driver.
> (Content of the memo field I put into text data type can be more than 
> 64K, so I choose 128000. The default is 8196, so it has to be increased.)

For what it is worth, Postgresql has a 1 Gb limit on the size of a text field. So if you know that you ascii chars are 8 bits, then you should be able to store a little over 134,000,000 characters.


> Conclusion: Version 8.2.4.0 of psqlodbc30a.dll and psqlodbc30w.dll 
> require tables WITH OID.
> (The "OID Options, Show column" -- and presumably
> "ShowOidColumn" -- has 
> no effect.)

I will try to spend some time to play with ADO record sets without using a DSN to see what happens and see with I can come up with. But in the mean time at least you can perform your test comparison.



view thread (16+ messages)  latest in thread

Message-ID: <406387.75407.qm@web31804.mail.mud.yahoo.com>
Permalink:  ../406387.75407.qm@web31804.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/406387.75407.qm@web31804.mail.mud.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: rabroersma@yahoo.com, dcio@AxiomInt.com
  Subject: Re: Need help with Visual Basic 6 and PostgreSQL
  In-Reply-To: <406387.75407.qm@web31804.mail.mud.yahoo.com>
  References: <4747840A.9060209@AxiomInt.com> <406387.75407.qm@web31804.mail.mud.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