Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb611fef

Browse files
committed
Patch to document the /etc/psqlrc / ~/.psqlrc config files
From: <Dr. Andrew C.R. Martin> martin@biochem.ucl.ac.uk
1 parent753f720 commitb611fef

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

‎src/man/psql.1

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.21 1998/01/11 22:17:54 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.22 1998/01/25 06:12:52 scrappy Exp $
44
.TH PSQL UNIX 1/20/96 PostgreSQL PostgreSQL
55
.SH NAME
66
psql - run the interactive query front-end
@@ -104,6 +104,17 @@ defaults to the value of the
104104
environment variable or, if that's not set, to the Unix account name of the
105105
current user.
106106
.PP
107+
When
108+
.IR"psql"
109+
starts, it reads SQL commands from
110+
.IR"/etc/psqlrc"
111+
and then from
112+
.IR"$(HOME)/.psqlrc"
113+
This allows SQL commands like
114+
.IR SET
115+
which can be used to set the date style to be run at the start of
116+
evry session.
117+
.PP
107118
.IR"psql"
108119
understands the following command-line options:
109120
.TP

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp