Peter Eisentraut
5e22994127
Document \dg+ and \du+
...
The fact that \dg and \du take the + option was missing in the documentation.
backpatched to 8.4
Author: Andreas Wenk <a.wenk@netzmeister-st-pauli.de>
16 years ago
Bruce Momjian
d747140279
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
...
provided by Andrew.
16 years ago
Bruce Momjian
73b44dca38
Use brackets in psql \df \? help.
17 years ago
Bruce Momjian
301f800895
Merge psql \df options into a single \? line, and update docs.
17 years ago
Bruce Momjian
aeb3c2fce4
Add agg/normal/trigger/window flags for psql \df and in \df output.
...
David Fetter
17 years ago
Peter Eisentraut
86eab8dae0
Message improvement
17 years ago
Tom Lane
5b02174144
Add missing help output for \ef option. Andrew Gierth
17 years ago
Peter Eisentraut
de0c3b3e58
Update line count for \? output (obtained from wc -l)
17 years ago
Peter Eisentraut
842f4bcfe4
In the \? output, align the columns consistently.
17 years ago
Peter Eisentraut
9987f66001
Fix my typo
17 years ago
Peter Eisentraut
92fc8b41e5
Add the long options to the psql --help display, where they were curiously
...
missing.
Since this touches most lines of the help output, also change the mix of
puts and printf calls to printf everywhere, for easier code editing and
reviewing.
17 years ago
Peter Eisentraut
9de59fd191
Add a -w/--no-password option that prevents all password prompts to all
...
programs that have a -W/--password option.
In passing, remove the ancient PSQL_ALWAYS_GET_PASSWORDS compile option.
17 years ago
Peter Eisentraut
cd3b750929
Sort the output of --help mostly alphabetical, make it align better, make
...
help of pg_dump and pg_dumpall more similar.
17 years ago
Bruce Momjian
7e518a3d01
Removeduplicate \dd psql help mention.
17 years ago
Bruce Momjian
3084a8aea3
Add spaces around psql \d* columns, per idea from Joshua Drake.
17 years ago
Bruce Momjian
17f601ecb2
Improve \z psql \? help display.
17 years ago
Bruce Momjian
f5ed2ee533
Add documentation for new \d*S* patch, and clean up some of the docs.
...
Fix \do and trigger display for the patch too.
17 years ago
Bruce Momjian
9491c82f71
This makes all the \dX commands (most importantly to most: \df) work
...
like \dt does, in that it requires a \dXS to see system items.
Greg Sabino Mullane
17 years ago
Bruce Momjian
511db38ace
Update copyright for 2009.
17 years ago
Peter Eisentraut
cae565e503
SQL/MED catalog manipulation facilities
...
This doesn't do any remote or external things yet, but it gives modules
like plproxy and dblink a standardized and future-proof system for
managing their connection information.
Martin Pihlak and Peter Eisentraut
17 years ago
Tom Lane
cdc197cf31
Improve psql's \dC command to take a pattern parameter. Casts are shown
...
if their source or target types match the pattern (using the same definition
of "match" as \dT does). Per recent discussion.
17 years ago
Alvaro Herrera
c67f037f4f
Document that \t and \x are now settable.
17 years ago
Heikki Linnakangas
15dc3f59c7
Update "help" output to reflect that \timing now takes an optional on/off
...
argument.
18 years ago
Bruce Momjian
9263d86f59
Update psql startup banner to be shorter, suggest "help" for help.
...
Add a few "help" entries.
Move \g help entry into "General".
Update psql version mismatch warning text.
Joshua D. Drake
18 years ago
Bruce Momjian
719a115874
Reorgnize psql \? help output, to reduce the size of the "General"
...
heading at the top; broken into more sections now.
18 years ago
Bruce Momjian
b6f0ad4b0e
Have psql command 'help' suggest the use of \?, updated version.
...
Greg Sabino Mullane
18 years ago
Bruce Momjian
dc565af454
Allow 'help' in psql to show \? help, for novice assistance.
...
Greg Sabino Mullane
18 years ago
Tom Lane
2f6e61b8a6
Improve description of \du and \dg, per suggestion from
...
Harald Armin Massa.
18 years ago
Magnus Hagander
2d7705e85e
Include \password in the psql help.
...
While at it, change the order of the documented options to be
alphabetically again.
18 years ago
Tom Lane
f7108ce06b
Fix psql \h output for case of no parameters (ie, list all the known commands)
...
to format properly for the actually needed column width, instead of having
a hard-wired assumption about the longest command name length. Also make it
respond to the current screen width. In passing, const-ify the constant
table.
18 years ago
Bruce Momjian
9098ab9e32
Update copyrights in source tree to 2008.
18 years ago
Tom Lane
1ebff9ba81
Make documentation of -W options more accurate and uniform.
18 years ago
Bruce Momjian
fdf5a5efb7
pgindent run for 8.3.
18 years ago
Tom Lane
140d4ebcb4
Tsearch2 functionality migrates to core. The bulk of this work is by
...
Oleg Bartunov and Teodor Sigaev, but I did a lot of editorializing,
so anything that's broken is probably my fault.
Documentation is nonexistent as yet, but let's land the patch so we can
get some portability testing done.
18 years ago
Bruce Momjian
7031dd6869
Add psql \prompt capability.
...
Chad Wagner
19 years ago
Bruce Momjian
29dccf5fe0
Update CVS HEAD for 2007 copyright. Back branches are typically not
...
back-stamped for this.
19 years ago
Peter Eisentraut
b9b4f10b5b
Message style improvements
19 years ago
Tom Lane
9b556322c5
Fix some missing inclusions identified with new pgcheckdefines tool.
19 years ago
Bruce Momjian
e0522505bd
Remove 576 references of include files that were not needed.
19 years ago
Tom Lane
ae643747b1
Fix a passel of recently-committed violations of the rule 'thou shalt
...
have no other gods before c.h'. Also remove some demonstrably redundant
#include lines, mostly of <errno.h> which was added to c.h years ago.
19 years ago
Tom Lane
e2e2a9db4c
Code review for psql multiline history patch(es). Fix memory leak,
...
failure to enter commands in history if canceled by control-C, other
infelicities.
20 years ago
Bruce Momjian
f2f5b05655
Update copyright for 2006. Update scripts.
20 years ago
Bruce Momjian
0f57851e31
Add psql option:
...
-1 or --single-transaction
Simon Riggs
20 years ago
Bruce Momjian
07bae9c099
Please find enclosed a patch that lets you use \c to connect
...
(optionally) to a new host and port without exiting psql. This
eliminates, IMHO, a surprise in that you can now connect to PostgreSQL
on a differnt machine from the one where you started your session. This
should help people who use psql as an administrative tool.
David Fetter
20 years ago
Bruce Momjian
4cb27fef0a
o Improve psql's handling of multi-line statements
...
Currently, while \e saves a single statement as one entry, interactive
statements are saved one line at a time. Ideally all statements
would be saved like \e does.
Sergey E. Koposov
20 years ago
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
20 years ago
Bruce Momjian
507465525e
\pset numericsep -> numericlocale.
20 years ago
Bruce Momjian
73a7c322c3
Add psql \pset numericsep to allow output numbers like 100,000.0 or
...
100.000,0.
Eugen Nedelcu
20 years ago
Bruce Momjian
c3a69c3b3b
Attached is a patch that enhances the "\h" capability in psql. I often
...
find myself typing a command and then wanting to get the syntax for it.
So I do a ctrl-a and add a \h: but psql does not recognize the command,
because I have stuff attached to it (e.g. "alter table foobar"), so I
have to scroll over and delete everything except the name of the command
itself. This patch gives \h three chances to match: if nothing matches
the complete string (current behavior), it tries to match the first two
words (e.g. "ALTER TABLE"). If that fails, it tries to match the first
word (e.g. "DELETE").
Greg Sabino Mullane
20 years ago
Bruce Momjian
2ee0d5549f
Add -L option to psql to log sessions.
...
Lorne Sunley
21 years ago