summaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/streamutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-02-23 14:04:43 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-02-23 14:04:43 -0500
commitb9d092c962ea3262930e3c31a8c3d79b66ce9d43 (patch)
treedce85c309787c766f079c627b7f06fb5f284495b /src/bin/pg_basebackup/streamutil.c
parentd28aafb6dda326688e2f042c95c93ea57963c03c (diff)
Remove now-dead code for !HAVE_INT64_TIMESTAMP.
This is a basically mechanical removal of #ifdef HAVE_INT64_TIMESTAMP tests and the negative-case controlled code. Discussion: https://postgr.es/m/26788.1487455319@sss.pgh.pa.us
Diffstat (limited to 'src/bin/pg_basebackup/streamutil.c')
-rw-r--r--src/bin/pg_basebackup/streamutil.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bin/pg_basebackup/streamutil.c b/src/bin/pg_basebackup/streamutil.c
index 31290d35f6f..35143f5de76 100644
--- a/src/bin/pg_basebackup/streamutil.c
+++ b/src/bin/pg_basebackup/streamutil.c
@@ -208,8 +208,8 @@ GetConnection(void)
PQconninfoFree(conn_opts);
/*
- * Ensure we have the same value of integer timestamps as the server we
- * are connecting to.
+ * Ensure we have the same value of integer_datetimes (now always "on") as
+ * the server we are connecting to.
*/
tmpparam = PQparameterStatus(tmpconn, "integer_datetimes");
if (!tmpparam)
@@ -221,11 +221,7 @@ GetConnection(void)
exit(1);
}
-#ifdef HAVE_INT64_TIMESTAMP
if (strcmp(tmpparam, "on") != 0)
-#else
- if (strcmp(tmpparam, "off") != 0)
-#endif
{
fprintf(stderr,
_("%s: integer_datetimes compile flag does not match server\n"),