From e761b19d81e234def4a48c12ffac80a3da2633f4 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 6 Feb 2017 15:18:32 +0100 Subject: [PATCH] rebase to latest upstream source Version: 09.06.0100-1 --- .gitignore | 2 +- ...9.05.0400-revert-money-testsuite-fix.patch | 23 ++----------------- postgresql-odbc.spec | 8 +++++-- sources | 2 +- 4 files changed, 10 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index db08a29..8fb9864 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/psqlodbc-09.05.0400.tar.gz +/psqlodbc-09.06.0100.tar.gz diff --git a/postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch b/postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch index 0a115ca..4e2fa93 100644 --- a/postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch +++ b/postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch @@ -10,40 +10,21 @@ http://www.postgresql.org/message-id/3259874.lgiBp3an9Y@nb.usersys.redhat.com --- diff --git a/test/expected/param-conversions.out b/test/expected/param-conversions.out -index 449a398..777cc94 100644 +index 777cc94..449a398 100644 --- a/test/expected/param-conversions.out +++ b/test/expected/param-conversions.out @@ -72,12 +72,12 @@ Error while executing the query 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"; -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 double precision: "4 \'bad', '1"; --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"... -diff --git a/test/expected/param-conversions_1.out b/test/expected/param-conversions_1.out -index 8c8e003..20f97b5 100644 ---- a/test/expected/param-conversions_1.out -+++ b/test/expected/param-conversions_1.out -@@ -71,12 +71,12 @@ Error while executing the query - - 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"; --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 double precision: "4 \'bad', '1"; -22P02=ERROR: invalid input syntax for type numeric: "4 \'bad', '1"; ++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"... diff --git a/postgresql-odbc.spec b/postgresql-odbc.spec index 4f18116..0c22f0e 100644 --- a/postgresql-odbc.spec +++ b/postgresql-odbc.spec @@ -2,8 +2,8 @@ Name: postgresql-odbc Summary: PostgreSQL ODBC driver -Version: 09.05.0400 -Release: 4%{?dist} +Version: 09.06.0100 +Release: 1%{?dist} License: LGPLv2+ Group: Applications/Databases URL: http://%{upstream_name}.projects.postgresql.org/ @@ -100,6 +100,10 @@ the PostgreSQL unixODBC driver. %changelog +* Mon Feb 06 2017 Pavel Raiskup - 09.06.0100-1 +- rebase to latest upstream version, per release notes: + https://odbc.postgresql.org/docs/release.html + * Thu Oct 20 2016 Pavel Raiskup - 09.05.0400-4 - provide 'psqlodbc', we possibly should rename the package in future diff --git a/sources b/sources index cd1eb4b..ddb24aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -86fc481acc2b58e3b780f6fef8e76f1a psqlodbc-09.05.0400.tar.gz +SHA512 (psqlodbc-09.06.0100.tar.gz) = 596de5fb8b9c4ddbd195197115f799dcd2df862a4428c8459d1c4aa6892d2d5040a2fe25a853e7398549ca1e1503399bda73cd4b6a6628e7cb6c2bfb88de4906