| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
David Christensen. Reviewed by Steve Singer. Some further changes by me.
|
|
|
|
| |
Noted by Stephen Frost.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Depending on which spec you read, field widths and precisions in %s may be
counted either in bytes or characters. Our code was assuming bytes, which
is wrong at least for glibc's implementation, and in any case libc might
have a different idea of the prevailing encoding than we do. Hence, for
portable results we must avoid using anything more complex than just "%s"
unless the string to be printed is known to be all-ASCII.
This patch fixes the cases I could find, including the psql formatting
failure reported by Hernan Gonzalez. In HEAD only, I also added comments
to some places where it appears safe to continue using "%.*s".
|
| |
|
|
|
|
| |
file instead of ~/.psqlrc on startup.
|
| |
|
|
|
|
|
| |
I also thank Bernd Helmle for the documentation help on the previous settings
patch, which I forgot on the commit message.
|
|
|
|
|
|
|
|
|
|
|
| |
the privileges that will be applied to subsequently-created objects.
Such adjustments are always per owning role, and can be restricted to objects
created in particular schemas too. A notable benefit is that users can
override the traditional default privilege settings, eg, the PUBLIC EXECUTE
privilege traditionally granted by default for functions.
Petr Jelinek
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of requiring translators to translate the entire SQL command
synopses, change create_help.pl to only require them to translate the
placeholders, and paste those into the synopsis using a printf mechanism.
Make some small updates to the markup to make it easier to parse.
Note: This causes msgmerge of gettext 0.17 to segfault. You will need
the patch from https://savannah.gnu.org/bugs/?27474 to make it work.
msgmerge usually only runs on babel.postgresql.org, however.
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
provided by Andrew.
|
| |
|
| |
|
|
|
|
| |
David Fetter
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
programs that have a -W/--password option.
In passing, remove the ancient PSQL_ALWAYS_GET_PASSWORDS compile option.
|
|
|
|
| |
help of pg_dump and pg_dumpall more similar.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix \do and trigger display for the patch too.
|
|
|
|
|
|
| |
like \dt does, in that it requires a \dXS to see system items.
Greg Sabino Mullane
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
if their source or target types match the pattern (using the same definition
of "match" as \dT does). Per recent discussion.
|
| |
|
|
|
|
| |
argument.
|
|
|
|
|
|
|
|
|
|
| |
Add a few "help" entries.
Move \g help entry into "General".
Update psql version mismatch warning text.
Joshua D. Drake
|
|
|
|
| |
heading at the top; broken into more sections now.
|
|
|
|
| |
Greg Sabino Mullane
|
|
|
|
| |
Greg Sabino Mullane
|
|
|
|
| |
Harald Armin Massa.
|
|
|
|
|
| |
While at it, change the order of the documented options to be
alphabetically again.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Chad Wagner
|
|
|
|
| |
back-stamped for this.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
failure to enter commands in history if canceled by control-C, other
infelicities.
|