From 14bd1c3d9e76e4a9e207082cdd45cb4002d48e5e Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 1 Jul 2010 14:37:53 +0000
Subject: [PATCH] Remove port.h prototypes from pg_upgrade.h, per report from
 Robert Haas.

---
 contrib/pg_upgrade/pg_upgrade.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/contrib/pg_upgrade/pg_upgrade.h b/contrib/pg_upgrade/pg_upgrade.h
index 51b78a26249..931c8b3b5e0 100644
--- a/contrib/pg_upgrade/pg_upgrade.h
+++ b/contrib/pg_upgrade/pg_upgrade.h
@@ -65,10 +65,6 @@ extern int  pgunlink(const char *path);
 /* OID system catalog preservation added during PG 9.0 development */
 #define TABLE_SPACE_SUBDIRS	201001111
 
-/* from pgport */
-extern void copydir(char *fromdir, char *todir, bool recurse);
-extern bool rmtree(const char *path, bool rmtopdir);
-
 /*
  * Each relation is represented by a relinfo structure.
  */
-- 
GitLab