From: | Ludek Finstrle <luf(at)pzkagis(dot)cz> |
---|---|
To: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Some changes |
Date: | 2005-12-01 20:21:05 |
Message-ID: | 20051201202105.GC16735@soptik.pzkagis.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Hello list,
when I was seeking patch for server side prepare I found two
improvements and add some mylog output.
I send here 3 patch + one contains all of them to review.
1) psqlodbc-skip_cmd_fetch.diff - this skip QR_fetch_tuples when
backend returns PGRES_COMMAND_OK - there is no data to fetch
2) psqlodbc-rowcount.diff - this add support for returning rowcount
from select statements (with UseDeclareFetch disabled - as
non-libpq versions)
3) psqlodbc-mylog.diff - add some mylog output for better tracing
4) psqlodbc-all-skip_cmd_fetch-rowcount-mylog.diff
this one contains all (three) above in one becouse they are created
againist CVS version and they coincidents a little:
$ psqlodbc>patch -p1 < ..\psqlodbc-skip_command_fetch.diff
$ patching file `connection.c'
$ psqlodbc>patch -p1 < ..\psqlodbc-rowcount.diff
$ patching file `connection.c'
$ Hunk #1 succeeded at 1850 (offset 5 lines).
$ psqlodbc>patch -p1 < ..\psqlodbc-mylog.diff
$ patching file `connection.c'
$ Hunk #1 succeeded at 1800 (offset 5 lines).
$ Hunk #3 succeeded at 1887 (offset 13 lines).
$ Hunk #5 succeeded at 1911 (offset 13 lines).
$ Hunk #7 succeeded at 2007 (offset 13 lines).
Please feel free to send feedback here
Luf
Attachment | Content-Type | Size |
---|---|---|
psqlodbc-skip_cmd_fetch.diff | text/plain | 446 bytes |
psqlodbc-rowcount.diff | text/plain | 953 bytes |
psqlodbc-mylog.diff | text/plain | 2.5 KB |
psqlodbc-all-skip_cmd_fetch-rowcount-mylog.diff | text/plain | 3.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2005-12-01 20:47:20 | Re: Annoying problem with UseDeclareFetch |
Previous Message | Ludek Finstrle | 2005-12-01 20:09:31 | Re: Annoying problem with UseDeclareFetch |