Re: psqlODBC 09.05.0200 Released

From: Pavel Raiskup <praiskup(at)redhat(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Cc: Hiroshi Saito <hiroshi(at)winpg(dot)jp>, pgsql-announce(at)postgresql(dot)org
Subject: Re: psqlODBC 09.05.0200 Released
Date: 2016-04-14 13:48:16
Message-ID: 2296086.oEo0rgFRTN@nb.usersys.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-odbc

On Thursday 14 of April 2016 15:47:06 Pavel Raiskup wrote:
> Hi, fyi, I keep getting...
>
> + cat ./regression.diffs
> *** ./expected/param-conversions.out Sat Apr 9 14:19:08 2016
> --- results/param-conversions.out Thu Apr 14 15:44:56 2016
> ***************
> *** 72,83 ****
>
> Testing "SELECT 1.3 > ?" with SQL_C_CHAR -> SQL_FLOAT param "3', 'injected, BAD!', '1"...
> SQLExecDirect failed
> ! 22P02=ERROR: invalid input syntax for type double precision: "3', 'injected, BAD!', '1";
> Error while executing the query
>
> Testing "SELECT 1.4 > ?" with SQL_C_CHAR -> SQL_FLOAT param "4 \'bad', '1"...
> SQLExecDirect failed
> ! 22P02=ERROR: invalid input syntax for type double precision: "4 \'bad', '1";
> Error while executing the query
>
> Testing "SELECT 1-?" with SQL_C_CHAR -> SQL_INTEGER param "-1"...
> --- 72,83 ----
>
> Testing "SELECT 1.3 > ?" with SQL_C_CHAR -> SQL_FLOAT param "3', 'injected, BAD!', '1"...
> SQLExecDirect failed
> ! 22P02=ERROR: invalid input syntax for type numeric: "3', 'injected, BAD!', '1";
> Error while executing the query
>
> Testing "SELECT 1.4 > ?" with SQL_C_CHAR -> SQL_FLOAT param "4 \'bad', '1"...
> SQLExecDirect failed
> ! 22P02=ERROR: invalid input syntax for type numeric: "4 \'bad', '1";
> Error while executing the query
>
> Testing "SELECT 1-?" with SQL_C_CHAR -> SQL_INTEGER param "-1"...
> + read line
>
> ... on Fedora 23. I'll try to look more carefuly next week unless there
> is somebody quicker than me.
>
> Thanks, Pavel

Full log:
https://kojipkgs.fedoraproject.org//work/tasks/9375/13659375/build.log

Pavel

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message David Steele 2016-04-17 13:06:07 pgBackRest 1.0 Released
Previous Message Pavel Raiskup 2016-04-14 13:47:06 Re: psqlODBC 09.05.0200 Released

Browse pgsql-odbc by date

  From Date Subject
Next Message Tsunakawa, Takayuki 2016-04-15 00:08:00 Re: use psqlodbc on Windows without Windows driver manager?
Previous Message Pavel Raiskup 2016-04-14 13:47:06 Re: psqlODBC 09.05.0200 Released