aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/common.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2020-08-10 09:22:54 -0700
committerNoah Misch <noah@leadboat.com>2020-08-10 09:22:54 -0700
commite078fb5d4eeb23d0d09932e0b183a8e7bdfb17b4 (patch)
tree51454894fdc9332cb87e10ff24cf6c4ed713ba7a /src/bin/scripts/common.c
parent7eeb1d9861b0a3f453f8b31c7648396cdd7f1e59 (diff)
downloadpostgresql-e078fb5d4eeb23d0d09932e0b183a8e7bdfb17b4.tar.gz
postgresql-e078fb5d4eeb23d0d09932e0b183a8e7bdfb17b4.zip
Move connect.h from fe_utils to src/include/common.
Any libpq client can use the header. Clients include backend components postgres_fdw, dblink, and logical replication apply worker. Back-patch to v10, because another fix needs this. In released branches, just copy the header and keep the original.
Diffstat (limited to 'src/bin/scripts/common.c')
-rw-r--r--src/bin/scripts/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/scripts/common.c b/src/bin/scripts/common.c
index ee65cc39481..420d0d11a5a 100644
--- a/src/bin/scripts/common.c
+++ b/src/bin/scripts/common.c
@@ -18,9 +18,9 @@
#include <unistd.h>
#include "common.h"
+#include "common/connect.h"
#include "common/logging.h"
#include "fe_utils/cancel.h"
-#include "fe_utils/connect.h"
#include "fe_utils/string_utils.h"
#define ERRCODE_UNDEFINED_TABLE "42P01"