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 6121539 commit ecfbbfcCopy full SHA for ecfbbfc
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 CLUSTERNAME(cluster) ((cluster) == CLUSTER_OLD ? "old" : "new")
69
70
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
0 commit comments