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 b9d8ea2 commit 6444bc3Copy full SHA for 6444bc3
src/bin/psql/settings.h
@@ -3,7 +3,7 @@
3
*
4
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
5
6
- * $PostgreSQL: pgsql/src/bin/psql/settings.h,v 1.21 2004/08/29 05:06:54 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/settings.h,v 1.22 2004/11/17 18:32:31 tgl Exp $
7
*/
8
#ifndef SETTINGS_H
9
#define SETTINGS_H
@@ -15,7 +15,12 @@
15
16
#define DEFAULT_FIELD_SEP "|"
17
#define DEFAULT_RECORD_SEP "\n"
18
+
19
+#if defined(WIN32) || defined(__CYGWIN__)
20
+#define DEFAULT_EDITOR "notepad.exe"
21
+#else
22
#define DEFAULT_EDITOR "vi"
23
+#endif
24
25
#define DEFAULT_PROMPT1 "%/%R%# "
26
#define DEFAULT_PROMPT2 "%/%R%# "
0 commit comments