Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id C86282E0041 for ; Fri, 23 Nov 2007 22:09:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 71013-08-2 for ; Fri, 23 Nov 2007 22:09:19 -0400 (AST) Received: from web31804.mail.mud.yahoo.com (web31804.mail.mud.yahoo.com [68.142.207.67]) by postgresql.org (Postfix) with SMTP id C51232E0047 for ; Fri, 23 Nov 2007 22:09:24 -0400 (AST) Received: (qmail 77393 invoked by uid 60001); 24 Nov 2007 02:09:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=VLiniBljQV4tAs01qvCjQ2JTVN1L6FKHQmh1Eodp1+jrXQvuuhjlCnQy4P6pZVtsjO6RKmYwTSk0gFlIfLf4vg73a3T0mUQvVt108Fdr0uQxwcTV18x/cyhn8DpjJhmz/p4W0roUVwyj4PCir1QjUnmMT20PgZBd8Y17LkXkIqc=; X-YMail-OSG: HnxhbfYVM1kjew63m_tfIqV1Jg_5C8Y2iJZZhAoEf0Qbid.di.DQEBZSzl1T.BPLtU8bnA-- Received: from [75.84.89.248] by web31804.mail.mud.yahoo.com via HTTP; Fri, 23 Nov 2007 18:09:23 PST X-Mailer: YahooMailWebService/0.7.158 Date: Fri, 23 Nov 2007 18:09:23 -0800 (PST) From: Richard Broersma Jr Subject: Re: Need help with Visual Basic 6 and PostgreSQL To: Finn Lassen Cc: Postgresql ODBC List In-Reply-To: <4747840A.9060209@AxiomInt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <406387.75407.qm@web31804.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/38 X-Sequence-Number: 9253 --- On Fri, 11/23/07, Finn Lassen 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.