mirror of
https://github.com/postgres/postgres.git
synced 2025-06-02 00:01:40 -04:00
Set DEFAULT_EDITOR to notepad.exe on Windows, as per recent discussion.
This commit is contained in:
parent
b9d8ea278b
commit
6444bc3535
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
|
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* $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 $
|
||||||
*/
|
*/
|
||||||
#ifndef SETTINGS_H
|
#ifndef SETTINGS_H
|
||||||
#define SETTINGS_H
|
#define SETTINGS_H
|
||||||
@ -15,7 +15,12 @@
|
|||||||
|
|
||||||
#define DEFAULT_FIELD_SEP "|"
|
#define DEFAULT_FIELD_SEP "|"
|
||||||
#define DEFAULT_RECORD_SEP "\n"
|
#define DEFAULT_RECORD_SEP "\n"
|
||||||
|
|
||||||
|
#if defined(WIN32) || defined(__CYGWIN__)
|
||||||
|
#define DEFAULT_EDITOR "notepad.exe"
|
||||||
|
#else
|
||||||
#define DEFAULT_EDITOR "vi"
|
#define DEFAULT_EDITOR "vi"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define DEFAULT_PROMPT1 "%/%R%# "
|
#define DEFAULT_PROMPT1 "%/%R%# "
|
||||||
#define DEFAULT_PROMPT2 "%/%R%# "
|
#define DEFAULT_PROMPT2 "%/%R%# "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user