We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d44f5 commit 812451dCopy full SHA for 812451d
contrib/pg_upgrade/pg_upgrade.h
@@ -54,6 +54,17 @@
54
#define EXE_EXT ".exe"
55
#endif
56
57
+#if defined(WIN32) && !defined(__CYGWIN__)
58
+
59
+ /*
60
+ * XXX This does not work for all terminal environments or for output
61
+ * containing non-ASCII characters; see comments in simple_prompt().
62
+ */
63
+#define DEVTTY "con"
64
+#else
65
+#define DEVTTY "/dev/tty"
66
+#endif
67
68
#define CLUSTER_NAME(cluster) ((cluster) == &old_cluster ? "old" : \
69
(cluster) == &new_cluster ? "new" : "none")
70
0 commit comments