Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
65b020bd
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
65b020bd
编写于
4月 22, 2004
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix filename mention in psqlrc.sample file.
上级
19f1649b
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
10 deletion
+10
-10
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/psql-ref.sgml
+5
-5
src/bin/psql/Makefile
src/bin/psql/Makefile
+2
-2
src/bin/psql/psqlrc.sample
src/bin/psql/psqlrc.sample
+1
-1
src/bin/psql/startup.c
src/bin/psql/startup.c
+2
-2
未找到文件。
doc/src/sgml/ref/psql-ref.sgml
浏览文件 @
65b020bd
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.11
3 2004/04/22 01:53:17
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.11
4 2004/04/22 14:33:38
momjian Exp $
PostgreSQL documentation
-->
...
...
@@ -440,7 +440,7 @@ PostgreSQL documentation
<term><option>--no-psqlrc</></term>
<listitem>
<para>
Do not read the start-up file <filename>/psql
.
rc</filename> or
Do not read the start-up file <filename>/psqlrc</filename> or
<filename>~/.psqlrc</filename>.
</para>
</listitem>
...
...
@@ -1861,7 +1861,7 @@ bar
The autocommit-on mode is <productname>PostgreSQL</>'s traditional
behavior, but autocommit-off is closer to the SQL spec. If you
prefer autocommit-off, you may wish to set it in the system-wide
<filename>psql
.
rc</filename> or your
<filename>psqlrc</filename> or your
<filename>.psqlrc</filename> file.
</para>
</note>
...
...
@@ -2491,9 +2491,9 @@ $endif
<para>
Before starting up, <application>psql</application> attempts to
read and execute commands from the the system-wide
<filename>psql
.
rc</filename> file and the
<filename>psqlrc</filename> file and the
<filename>$HOME/.psqlrc</filename> file in the user's home
directory. See <filename><replaceable>PREFIX</>/share/psql
.
rc.sample</>
directory. See <filename><replaceable>PREFIX</>/share/psqlrc.sample</>
for information on setting up the system-wide file. It could be used
to set up the client or the server to taste (using the <command>\set
</command> and <command>SET</command> commands).
...
...
src/bin/psql/Makefile
浏览文件 @
65b020bd
...
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.4
1 2004/04/22 01:53:37
momjian Exp $
# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.4
2 2004/04/22 14:33:45
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -50,7 +50,7 @@ distprep: $(srcdir)/sql_help.h $(srcdir)/psqlscan.c
install
:
all installdirs
$(INSTALL_PROGRAM)
psql
$(X)
$(DESTDIR)$(bindir)
/psql
$(X)
$(INSTALL_DATA)
$(srcdir)
/psql
.rc.sample
$(DESTDIR)$(datadir)
/psql.
rc.sample
$(INSTALL_DATA)
$(srcdir)
/psql
rc.sample
$(DESTDIR)$(datadir)
/psql
rc.sample
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
...
...
src/bin/psql/psql
.
rc.sample
→
src/bin/psql/psqlrc.sample
浏览文件 @
65b020bd
...
...
@@ -4,4 +4,4 @@
-- This file is read before the .psqlrc file in the user's home directory.
--
-- Copy this to your sysconf directory (typically /usr/local/pgsql/etc) and
-- rename it psql
.
rc.
-- rename it psqlrc.
src/bin/psql/startup.c
浏览文件 @
65b020bd
...
...
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.
89 2004/04/22 01:53:37
momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.
90 2004/04/22 14:33:49
momjian Exp $
*/
#include "postgres_fe.h"
...
...
@@ -45,7 +45,7 @@ int optreset;
PsqlSettings
pset
;
#define PSQLRC ".psqlrc"
#define SYSPSQLRC "psql
.
rc"
#define SYSPSQLRC "psqlrc"
/*
* Structures to pass information between the option parsing routine
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录