pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Pavel Raiskup <praiskup@redhat.com>
Cc: pgsql-odbc@postgresql.org, Hiroshi Saito <hiroshi@winpg.jp>
Subject: Re: psqlODBC 09.05.0200 Released
Date: Fri, 22 Apr 2016 12:19:28 +0200
Message-ID: <20160422101928.GC4890@msg.df7cb.de> (raw)
In-Reply-To: <2358560.7dzo2vKd9I@nb.usersys.redhat.com>
References: <20160409143629.2BC5CB4C40D@winpg.jp>
	<2358560.7dzo2vKd9I@nb.usersys.redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Re: Pavel Raiskup 2016-04-14 <2358560.7dzo2vKd9I@nb.usersys.redhat.com>
> Hi, fyi, I keep getting...

Hi,

I'm getting exactly the same diff on Debian unstable.

Do we simply have to update expected/param-conversions{,_1}.out or is
there a bug in the (testing?) code?

> + 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.

Christoph


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (24+ messages)  latest in thread

Message-ID: <20160422101928.GC4890@msg.df7cb.de>
Permalink:  ../20160422101928.GC4890@msg.df7cb.de/
Also on:    postgresql.org/message-id/20160422101928.GC4890@msg.df7cb.de

 · 

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: myon@debian.org, praiskup@redhat.com, hiroshi@winpg.jp
  Subject: Re: psqlODBC 09.05.0200 Released
  In-Reply-To: <20160422101928.GC4890@msg.df7cb.de>
  References: <20160409143629.2BC5CB4C40D@winpg.jp> <2358560.7dzo2vKd9I@nb.usersys.redhat.com> <20160422101928.GC4890@msg.df7cb.de>

* 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