From c4634478f37e7922c46cb66a6102e3a20f032e2b Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Thu, 19 Sep 2019 12:02:32 +0000 Subject: Remove expired ports: 2019-09-15 databases/postgresql-plruby: Abandonware 2019-09-15 databases/tablelog: Abandonware 2019-09-15 databases/skytools: Abandonware Event: EuroBSDCon 2019 developer summit --- databases/tablelog/files/patch-table__log.c | 59 ----------------------------- 1 file changed, 59 deletions(-) delete mode 100644 databases/tablelog/files/patch-table__log.c (limited to 'databases/tablelog/files/patch-table__log.c') diff --git a/databases/tablelog/files/patch-table__log.c b/databases/tablelog/files/patch-table__log.c deleted file mode 100644 index 6a043b4542d4..000000000000 --- a/databases/tablelog/files/patch-table__log.c +++ /dev/null @@ -1,59 +0,0 @@ ---- table_log.c.orig 2007-05-16 23:14:04 UTC -+++ table_log.c -@@ -22,6 +22,8 @@ - #include "utils/formatting.h" - #include "utils/builtins.h" - #include -+#include -+#include - #include - - /* for PostgreSQL >= 8.2.x */ -@@ -71,7 +73,11 @@ int count_columns (TupleDesc tupleDesc) { - int i; - - for (i = 0; i < tupleDesc->natts; ++i) { -+#if PG_VERSION_NUM < 110000 - if (!tupleDesc->attrs[i]->attisdropped) { -+#else -+ if (!tupleDesc->attrs[i].attisdropped) { -+#endif - ++count; - } - } -@@ -298,7 +304,11 @@ static void __table_log (TriggerData *trigdata, char * - col_nr++; - found_col = 0; - do { -+#if PG_VERSION_NUM < 110000 - if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) { -+#else -+ if (trigdata->tg_relation->rd_att->attrs[col_nr - 1].attisdropped) { -+#endif - /* this column is dropped, skip it */ - col_nr++; - continue; -@@ -343,7 +353,11 @@ static void __table_log (TriggerData *trigdata, char * - col_nr++; - found_col = 0; - do { -+#if PG_VERSION_NUM < 110000 - if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) { -+#else -+ if (trigdata->tg_relation->rd_att->attrs[col_nr - 1].attisdropped) { -+#endif - /* this column is dropped, skip it */ - col_nr++; - continue; -@@ -370,7 +384,11 @@ static void __table_log (TriggerData *trigdata, char * - col_nr++; - found_col = 0; - do { -+#if PG_VERSION_NUM < 110000 - if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) { -+#else -+ if (trigdata->tg_relation->rd_att->attrs[col_nr - 1].attisdropped) { -+#endif - /* this column is dropped, skip it */ - col_nr++; - continue; -- cgit v1.2.3