Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
65b020bd
Commit
65b020bd
authored
Apr 22, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix filename mention in psqlrc.sample file.
parent
19f1649b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+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
No files found.
doc/src/sgml/ref/psql-ref.sgml
View file @
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
View file @
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
View file @
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
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment