Re: odbcng

From: Andrei Kovalevski <andyk(at)commandprompt(dot)com>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: odbcng
Date: 2007-11-07 19:11:29
Message-ID: 47320DE1.6010204@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

This query works for me on Access 2003. Which versions of Access and
ODBCng you have?
We can communicate via odbcng(at)lists(dot)commandprompt(dot)com
<mailto:odbcng(at)lists(dot)commandprompt(dot)com>. I'll try to help you with any
problems.

Sam Mason wrote:
> On Tue, Nov 06, 2007 at 05:48:12PM -0300, Alvaro Herrera wrote:
>
>> FYI there's another Postgres ODBC driver that is said to have better
>> performance.
>>
>> https://projects.commandprompt.com/public/odbcng
>>
>> (Yes, my company maintains it)
>>
>
> Are there any known issues when calling it from VB? I've got a VB (MS
> Access) client that uses PG as its backend and it seems to die horribly
> when doing any sort of query that returns a text column. This happens
> through either DAO or ADO; though DAO gives the error "the size of a
> field is too long", ADO just segfaults.
>
> For example, the following code doesn't work for me. Looks like the
> sort of thing that that should get lots of test coverage so maybe it's
> something on my system.
>
> Public Sub test()
> Dim con As ADODB.Connection, rs As ADODB.Recordset
>
> Set con = New ADODB.Connection
> con.Open "DSN=badgerstudy"
>
> Set rs = con.Execute("SELECT 1, 'foo'::TEXT, 'bar'")
>
> While Not rs.EOF
> rs.MoveNext
> Wend
> End Sub
>
>
> Thanks,
> Sam
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

Thanks,
Andrei.

In response to

  • odbcng at 2007-11-07 18:19:12 from Sam Mason

Browse pgsql-general by date

  From Date Subject
Next Message Rainer Bauer 2007-11-07 19:12:41 Re: Npsql is much faster than ODBC ?
Previous Message Gregory Stark 2007-11-07 19:05:23 Re: any way for ORDER BY x to imply NULLS FIRST in 8.3?