pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: Pavel Raiskup <praiskup@redhat.com>
Cc: pgsql-odbc@postgresql.org, Hiroshi Saito <hiroshi@winpg.jp>
Subject: Re: psqlODBC 09.06.0400 Released
Date: Wed, 19 Jul 2017 23:15:22 +0900
Message-ID: <5f9d3569-ce38-e23b-9991-ed89d45480ff@dream.email.ne.jp> (raw )
In-Reply-To: <14862693.sKPkemeOKL@nb.usersys.redhat.com >
References: <20170718144658.B35A9B4C411@winpg.jp >
<f8a122bd-cc55-511c-1e3b-df1b8defe576@dream.email.ne.jp >
<a1a6bf54-2aa7-6ec8-48b1-0827fa90ee23@dream.email.ne.jp >
<14862693.sKPkemeOKL@nb.usersys.redhat.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
Hi,
On 2017/07/19 22:07, Pavel Raiskup wrote:
> On Wednesday, July 19, 2017 2:03:48 PM CEST Inoue, Hiroshi wrote:
>> Hi Pavel,
>>
>> Could you try the attached patch?
> The patch did not help (after quick check, I hope I've tested it correctly), I'm
> attaching two logs which appeared in /tmp (as you requested before).
Thanks.
Could you try the attached patch?
regards,
Hiroshi Inoue
> Pavel
>
>> regards,
>> Hiroshi Inoue
>>
>> On 2017/07/19 20:26, Inoue, Hiroshi wrote:
>>> Hi,
>>>
>>> On 2017/07/19 19:29, Pavel Raiskup wrote:
>>>> On Wednesday, July 19, 2017 10:31:33 AM CEST Inoue, Hiroshi wrote:
>>>>> Hi Pavel,
>>>>>
>>>>> On 2017/07/19 15:07, Pavel Raiskup wrote:
>>>>>> Thanks for the release!
>>>>>>
>>>>>> On Tuesday, July 18, 2017 4:46:58 PM CEST Hiroshi Saito wrote:
>>>>>>> Please post any bug reports to the mailing list.
>>>>>> The testsuite started to fail with 09.06.0400 on Fedora x86_64:
>>>>>>
>>>>>> ...
>>>>>> cursor-block-delete ........ Dubious, test returned 1 (wstat
>>>>>> 256, 0x100)
>>>>>> ...
>>>>>> error-rollback ............. Dubious, test returned 1 (wstat
>>>>>> 256, 0x100)
>>>>>> ...
>>>>>>
>>>>>> More info/logs in [1]. I'd be happy to provide more info if needed.
>>>>> Could you take mylog for the test case?
>>>>>
>>>>> After editing the odbc.ini file for the testsuite
>>>>> DEBUG = 1
>>>>> and
>>>>> make installcheck TESTNAMES=cursor-block-delete
>>>>>
>>>>> Probably you can find mylog files in /tmp dir.
>>>> The log is here:
>>> Thanks.
>>> Aren't you turning on DEBUG of odbcinst.ini file?
>>> Please turn on DEBUG of odbc.ini file also.
>>>
>>> regrards,
>>> Hiroshi Inoue
>>>
>>>> [140271643534336] start_logging:Global.debug&commlog=1&0
>>>> [140271643534336][[SQLAllocHandle]][140271643534336]**** in
>>>> PGAPI_AllocEnv **
>>>> [140271643534336]** exit PGAPI_AllocEnv: phenv = 0x5641633cc0b0 **
>>>> [140271643534336][[SQLSetEnvAttr]] att=200,3
>>>> [140271643534336][[SQLGetEnvAttr]] 200
>>>> [140271643534336][[SQLAllocHandle]][140271643534336]PGAPI_AllocConnect:
>>>> entering...
>>>> [140271643534336]**** PGAPI_AllocConnect: henv = 0x5641633cc0b0, conn
>>>> = 0x5641633c7740
>>>> [140271643534336]EN_add_connection: self = 0x5641633cc0b0, conn =
>>>> 0x5641633c7740
>>>> [140271643534336] added at 0, conn->henv = 0x5641633cc0b0,
>>>> conns[0]->henv = 0x5641633cc0b0
>>>> [140271643534336][SQLDriverConnect][140271643534336]PGAPI_DriverConnect:
>>>> entering...
>>>> [140271643534336]**** PGAPI_DriverConnect: fDriverCompletion=0,
>>>> connStrIn='DSN=psqlodbc_test_dsn;Database=postgres'
>>>> [140271643534336]CC_conninfo_init opt=2
>>>> [140271643534336]our_connect_string =
>>>> 'DSN=psqlodbc_test_dsn;Database=postgres'
>>>> [140271643534336]getDSNinfo: DSN=psqlodbc_test_dsn driver=&(null)
>>>> [140271643534336]calling getCiDefaults
>>>> [140271643534336]drivername=PostgreSQL Unicode
>>>> [140271643534336]getDriversDefaults:0x5641633c7fb8 of the driver
>>>> PostgreSQL Unicode
>>>> [140271643534336]comval=0x5641633c7fb8
>>>> comval->extra_systable_prefixes = ''
>>>> [140271643534336]get_Ci_Drivers:setting .odbc.ini position of
>>>> psqlodbc_test_dsn(0x5641633c7fb8)
>>>> [140271643534336]comval=0x5641633c7fb8
>>>> comval->extra_systable_prefixes = ''
>>>> [140271643534336]our_connect_string =
>>>> 'DSN=psqlodbc_test_dsn;Database=postgres'
>>>> [140271643534336]copyConnAttributes: key='DSN' value='psqlodbc_test_dsn'
>>>> [140271643534336]copyConnAttributes: key='Database' value='postgres'
>>>>
>>>> Pavel
>>>>
>>>>
>>>>> regards,
>>>>> Hiroshi Inoue
>>>>>
>>>>>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1472515
>>>>>>
>>>>>> Thanks,
>>>>>> Pavel
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Attachments:
exec.diff (text/plain, 1.3K) download
diff --git a/connection.c b/connection.c
index 411e045..d43bc33 100644
--- a/connection.c
+++ b/connection.c
@@ -1604,7 +1604,7 @@ int
CC_internal_rollback(ConnectionClass *self, int rollback_type, BOOL ignore_abort)
{
int ret = 0;
- char cmd[64];
+ char cmd[128];
PGresult *pgres = NULL;
if (!CC_is_in_error_trans(self))
@@ -1701,7 +1701,7 @@ CC_send_query_append(ConnectionClass *self, const char *query, QueryInfo *qi, UD
consider_rollback;
int func_cs_count = 0, i;
size_t query_buf_len = 0;
- char *query_buf = NULL, prepend_cmd[64];
+ char *query_buf = NULL, prepend_cmd[128];
size_t query_len;
/* QR_set_command() dups this string so doesn't need static */
diff --git a/execute.c b/execute.c
index 09b8560..2137bf2 100644
--- a/execute.c
+++ b/execute.c
@@ -588,7 +588,7 @@ inolog("%s:%p->external=%d\n", func, stmt, stmt->external);
int
GenerateSvpCommand(ConnectionClass *conn, int type, char *cmd, int buflen)
{
- char esavepoint[32];
+ char esavepoint[50];
int rtn = -1;
cmd[0] = '\0';
@@ -621,7 +621,7 @@ RETCODE
SetStatementSvp(StatementClass *stmt, unsigned int option)
{
CSTR func = "SetStatementSvp";
- char cmd[64];
+ char cmd[128];
ConnectionClass *conn = SC_get_conn(stmt);
QResultClass *res;
RETCODE ret = SQL_SUCCESS_WITH_INFO;
view thread (20+ messages) latest in thread
Message-ID: <5f9d3569-ce38-e23b-9991-ed89d45480ff@dream.email.ne.jp>
Permalink: ../5f9d3569-ce38-e23b-9991-ed89d45480ff@dream.email.ne.jp/
Also on: postgresql.org/message-id/5f9d3569-ce38-e23b-9991-ed89d45480ff@dream.email.ne.jp
copy link · copy postgr.es · copy git am
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: h-inoue@dream.email.ne.jp, praiskup@redhat.com, hiroshi@winpg.jp
Subject: Re: psqlODBC 09.06.0400 Released
In-Reply-To: <5f9d3569-ce38-e23b-9991-ed89d45480ff@dream.email.ne.jp>
References: <20170718144658.B35A9B4C411@winpg.jp> <f8a122bd-cc55-511c-1e3b-df1b8defe576@dream.email.ne.jp> <a1a6bf54-2aa7-6ec8-48b1-0827fa90ee23@dream.email.ne.jp> <14862693.sKPkemeOKL@nb.usersys.redhat.com> <5f9d3569-ce38-e23b-9991-ed89d45480ff@dream.email.ne.jp>
* 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