diff --git a/databases/pg_statsinfo/patch-src_drivers_postgresql_PostgresqlTypes_cpp b/databases/pg_statsinfo/patch-src_drivers_postgresql_PostgresqlTypes_cpp deleted file mode 100644 index ceca95306f4..00000000000 --- a/databases/pg_statsinfo/patch-src_drivers_postgresql_PostgresqlTypes_cpp +++ /dev/null @@ -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 - #include // needed for BOOLOID, etc. -+#include // 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 diff --git a/databases/pg_statsinfo/patch-src_sql_drivers_psql_qsql_psql_cpp b/databases/pg_statsinfo/patch-src_sql_drivers_psql_qsql_psql_cpp deleted file mode 100644 index 16095f52ed6..00000000000 --- a/databases/pg_statsinfo/patch-src_sql_drivers_psql_qsql_psql_cpp +++ /dev/null @@ -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;