Bug in execute.c - Mailing list pgsql-odbc

From Christian Ullrich
Subject Bug in execute.c
Date
Msg-id mhalik$s8k$1@ger.gmane.org
Whole thread Raw
Responses Re: Bug in execute.c
List pgsql-odbc
 From execute.c, SC_setInsertedTable(), line 790:

    if (ptr = strchr(cmd + 1, '.'), NULL != ptr)
        len = ptr - cmd;

This branch is supposed to extract an unquoted schema name from an
INSERT statement. If that statement is

    INSERT INTO mytable VALUES (1, 1.5)

, the schema name will be "mytable VALUES (1, 1", and the table name, "5)".

I'm sorry I don't have a patch right now. I can come up with one, though.

--
Christian

pgsql-odbc by date:

Previous
From: Christian Ullrich
Date:
Subject: Problem getting @@identity
Next
From: Christian Ullrich
Date:
Subject: Re: Bug in execute.c