pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedNew libpq driver snapshot
5+ messages / 2 participants
[nested] [flat]
* New libpq driver snapshot
@ 2005-07-22 09:43 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Page @ 2005-07-22 09:43 UTC (permalink / raw)
To: pgsql-odbc
I've uploaded an update of the new libpq driver to
ftp://ftp.postgresql.org/pub/odbc/versions/snapshots/. It will appear on
the PostgreSQL website and ftp mirrors within a day or so.
This version fixes all known memory leaks and other issues found in the
first snapshot of the new libpq driver, except the threading issue I've
found when using transactions in ODBCBench.
*** It is essential that this version gets lots of testing in order to
ensure it is of production quality before we make a proper release, so
please take the time to test your applications with it! ***
To aid testing, this driver will install as PostgreSQL-libpq, and may be
installed in parallel with non-libpq versions of the driver.
Regards, Dave.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: New libpq driver snapshot
@ 2005-07-22 10:26 Miguel Juan <mjuan@cibal.es>
parent: Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 5+ messages in thread
From: Miguel Juan @ 2005-07-22 10:26 UTC (permalink / raw)
To: Dave Page <dpage@vale-housing.co.uk>; pgsql-odbc
Hello,
I just tried the latest snapshot under BDE (Borland Database Engine)
environment and the driver still have the same problems with de
text/char/varchar fields.
With version 8 not libpq the fields appear in blank, but now it do not show
field at all. Some time ago I done some Log comparation and I found out that
the return type of the fields where somekind diferent between version 7 and
version 8.
Do you want any information, Logs or anything?
Note: I am not a Visual C programmer, but I can try do do some debug if you
need it.
Regards
Miguel Juan
----- Original Message -----
From: "Dave Page" <dpage@vale-housing.co.uk>
To: <pgsql-odbc@postgresql.org>
Sent: Friday, July 22, 2005 11:43 AM
Subject: [ODBC] New libpq driver snapshot
I've uploaded an update of the new libpq driver to
ftp://ftp.postgresql.org/pub/odbc/versions/snapshots/. It will appear on
the PostgreSQL website and ftp mirrors within a day or so.
This version fixes all known memory leaks and other issues found in the
first snapshot of the new libpq driver, except the threading issue I've
found when using transactions in ODBCBench.
*** It is essential that this version gets lots of testing in order to
ensure it is of production quality before we make a proper release, so
please take the time to test your applications with it! ***
To aid testing, this driver will install as PostgreSQL-libpq, and may be
installed in parallel with non-libpq versions of the driver.
Regards, Dave.
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: New libpq driver snapshot
@ 2005-07-22 11:42 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 5+ messages in thread
From: Dave Page @ 2005-07-22 11:42 UTC (permalink / raw)
To: Miguel Juan <mjuan@cibal.es>; pgsql-odbc
> -----Original Message-----
> From: Miguel Juan [mailto:mjuan@cibal.es]
> Sent: 22 July 2005 11:26
> To: Dave Page; pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] New libpq driver snapshot
>
> Hello,
>
> I just tried the latest snapshot under BDE (Borland Database Engine)
> environment and the driver still have the same problems with de
> text/char/varchar fields.
>
> With version 8 not libpq the fields appear in blank, but now
> it do not show
> field at all. Some time ago I done some Log comparation and I
> found out that
> the return type of the fields where somekind diferent between
> version 7 and
> version 8.
>
> Do you want any information, Logs or anything?
>
> Note: I am not a Visual C programmer, but I can try do do
> some debug if you
> need it.
Can you write a program to, as simply as possible, open a connection,
execute "select vesion();" and retrieve the result using BDE? Does that
work? If not, can you post mylog output? Feel free to try to debug it
your self as well...
Regards Dave.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: New libpq driver snapshot
@ 2005-08-04 10:24 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 5+ messages in thread
From: Dave Page @ 2005-08-04 10:24 UTC (permalink / raw)
To: Miguel Juan <mjuan@cibal.es>; pgsql-odbc
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Miguel Juan
> Sent: 22 July 2005 11:26
> To: Dave Page; pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] New libpq driver snapshot
>
> Hello,
>
> I just tried the latest snapshot under BDE (Borland Database Engine)
> environment and the driver still have the same problems with de
> text/char/varchar fields.
>
> With version 8 not libpq the fields appear in blank, but now
> it do not show
> field at all. Some time ago I done some Log comparation and I
> found out that
> the return type of the fields where somekind diferent between
> version 7 and
> version 8.
Hello,
Could you try the new version of the driver
(psqlodbclibpq-08_01_003.zip) from
http://www.postgresql.org/ftp/odbc/versions/snapshots/ and let us know
if it fixes the problem please?
Thanks, Dave.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: New libpq driver snapshot
@ 2005-08-12 13:55 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 5+ messages in thread
From: Dave Page @ 2005-08-12 13:55 UTC (permalink / raw)
To: Miguel Juan <mjuan@cibal.es>; +Cc: pgsql-odbc
> -----Original Message-----
> From: Miguel Juan [mailto:mjuan@cibal.es]
> Sent: 05 August 2005 15:51
> To: Dave Page
> Subject: Re: [ODBC] New libpq driver snapshot
>
> Hello Dave,
>
> I attach the file "mylog_2688.log" for the gdcolas table test and
> for the table "gdabs" you have mylog_3856.log file
Hi Miguel,
[Using Borland SQL Explorer]
I've looked into this, and as far as I can tell, the driver is doing
everything correctly.
When you view the table contents using SELECT * FROM gdcolas, SQL
Explorer basically does the following:
- Executes the query using SQLExecDirectW
- Looks at the columns using SQLDescribeColW, and for two columns sees
SQL_C_Wxxx types.
- Binds to all columns using SQLBindCol
- Fetches data using SQLExtendedFetch, in SQL_C_CHAR format (which the
driver duly converts and supplies)
At which point it then appears to ignore the Unicode columns entirely.
When you simply view the data in the table, it does it in exactly the
same way *except* it doesn't execute SQLDescribeColW to describe the
columns first.
It seems to me like it is intentionally not displaying the Unicode
columns, even though it has retrieved them as C strings. If it doesn't
realise they're Unicode (because it didn't check first), it happily
displays them.
Unfortunately this means one of two things; either there is a bug in SQL
Explorer, or, the driver is doing something so subtly wrong that I just
can't see it. Either way, I don't think there's much else I can do I'm
afraid. Perhaps one of the guys from Pervasive has an idea??
Regards, Dave.
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2005-08-12 13:55 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-07-22 09:43 New libpq driver snapshot Dave Page <dpage@vale-housing.co.uk>
2005-07-22 10:26 ` Miguel Juan <mjuan@cibal.es>
2005-07-22 11:42 Re: New libpq driver snapshot Dave Page <dpage@vale-housing.co.uk>
2005-08-04 10:24 Re: New libpq driver snapshot Dave Page <dpage@vale-housing.co.uk>
2005-08-12 13:55 Re: New libpq driver snapshot Dave Page <dpage@vale-housing.co.uk>
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