Remove wrong patches committed by mistake to wrong directory
Pointed out by naddy@
This commit is contained in:
parent
2971a7999c
commit
d29c5b9b6c
@ -1,27 +0,0 @@
|
||||
$OpenBSD: patch-src_drivers_postgresql_PostgresqlTypes_cpp,v 1.1 2020/02/06 14:26:35 jeremy Exp $
|
||||
|
||||
Fix build with PostgreSQL 12, from upstream commit
|
||||
40cdaea4d7824cc1b0d26e6ad2dcb61fa2077911.
|
||||
|
||||
Index: src/drivers/postgresql/PostgresqlTypes.cpp
|
||||
--- src/drivers/postgresql/PostgresqlTypes.cpp.orig
|
||||
+++ src/drivers/postgresql/PostgresqlTypes.cpp
|
||||
@@ -36,6 +36,7 @@
|
||||
#endif
|
||||
#include <libpq-fe.h>
|
||||
#include <catalog/pg_type.h> // needed for BOOLOID, etc.
|
||||
+#include <pg_config.h> // needed for PG_VERSION_NUM
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( pop )
|
||||
@@ -70,8 +71,10 @@ void PostgresqlDriver::initPgsqlToKDbMap()
|
||||
//! @todo POLYGONOID geometric polygon '(pt1,...)'
|
||||
m_pgsqlToKDbTypes.insert(FLOAT4OID, KDbField::Double);
|
||||
m_pgsqlToKDbTypes.insert(FLOAT8OID, KDbField::Double);
|
||||
+#if PG_VERSION_NUM < 120000
|
||||
m_pgsqlToKDbTypes.insert(ABSTIMEOID, KDbField::Date);
|
||||
m_pgsqlToKDbTypes.insert(RELTIMEOID, KDbField::Date);
|
||||
+#endif
|
||||
//! @todo TINTERVALOID (abstime,abstime), time interval
|
||||
//! @todo CIRCLEOID geometric circle '(center,radius)'
|
||||
//! @todo CASHOID monetary amounts, $d,ddd.cc
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-src_sql_drivers_psql_qsql_psql_cpp,v 1.1 2020/02/06 14:26:35 jeremy Exp $
|
||||
|
||||
Fix build with PostgreSQL 12.
|
||||
|
||||
Index: src/sql/drivers/psql/qsql_psql.cpp
|
||||
--- src/sql/drivers/psql/qsql_psql.cpp.orig
|
||||
+++ src/sql/drivers/psql/qsql_psql.cpp
|
||||
@@ -140,8 +140,6 @@ static QVariant::Type qDecodePSQLType( int t )
|
||||
case FLOAT8OID :
|
||||
type = QVariant::Double;
|
||||
break;
|
||||
- case ABSTIMEOID :
|
||||
- case RELTIMEOID :
|
||||
case DATEOID :
|
||||
type = QVariant::Date;
|
||||
break;
|
Loading…
Reference in New Issue
Block a user