summaryrefslogtreecommitdiff
path: root/src/bin/psql/help.c
AgeCommit message (Collapse)Author
2006-10-06Message style improvementsPeter Eisentraut
2006-07-15Fix some missing inclusions identified with new pgcheckdefines tool.Tom Lane
2006-07-14Remove 576 references of include files that were not needed.Bruce Momjian
2006-07-14Fix a passel of recently-committed violations of the rule 'thou shaltTom Lane
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.
2006-06-11Code review for psql multiline history patch(es). Fix memory leak,Tom Lane
failure to enter commands in history if canceled by control-C, other infelicities.
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-02-12Add psql option:Bruce Momjian
-1 or --single-transaction Simon Riggs
2006-02-12Please find enclosed a patch that lets you use \c to connectBruce Momjian
(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
2006-02-11o Improve psql's handling of multi-line statementsBruce Momjian
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
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-07-18\pset numericsep -> numericlocale.Bruce Momjian
2005-07-10Add psql \pset numericsep to allow output numbers like 100,000.0 orBruce Momjian
100.000,0. Eugen Nedelcu
2005-07-06Attached is a patch that enhances the "\h" capability in psql. I oftenBruce Momjian
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
2005-06-14Add -L option to psql to log sessions.Bruce Momjian
Lorne Sunley
2005-02-22Use _() macro consistently rather than gettext(). Add translationBruce Momjian
macros around strings that were missing them.
2005-01-08Consistently use geteuid() not getuid(); there were a few places deviatingTom Lane
from our long-established standard.
2005-01-01Update copyrights that were missed.Bruce Momjian
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ...
2004-11-24Trivial fix for a bug introduced in r1.94 of help.c: we want to onlyNeil Conway
include "\s" in \? output when readline is enabled, but that commit supressed "\s" whether readline was enabled or not.
2004-11-09Clarify some stringsPeter Eisentraut
2004-10-12Message style revisionsPeter Eisentraut
2004-10-06Suppress psql \s help display for platforms like Win32 that don'tBruce Momjian
typically install witn readline, and throw an error if they try to access it.
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-08-07Ignore trailing spaces in psql \h.Bruce Momjian
Greg Sabino Mullane
2004-07-15Add permission display to \db+.Bruce Momjian
2004-07-13Have \dn+ show permissions and description for schemas.Bruce Momjian
Dennis Bjorklund
2004-06-18Tablespaces. Alternate database locations are dead, long live tablespaces.Tom Lane
There are various things left to do: contrib dbsize and oid2name modules need work, and so does the documentation. Also someone should think about COMMENT ON TABLESPACE and maybe RENAME TABLESPACE. Also initlocation is dead, it just doesn't know it yet. Gavin Sherry and Tom Lane.
2004-05-07Solve the 'Turkish problem' with undesirable locale behavior for caseTom Lane
conversion of basic ASCII letters. Remove all uses of strcasecmp and strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp; remove most but not all direct uses of toupper and tolower in favor of pg_toupper and pg_tolower. These functions use the same notions of case folding already developed for identifier case conversion. I left the straight locale-based folding in place for situations where we are just manipulating user data and not trying to match it to built-in strings --- for example, the SQL upper() function is still locale dependent. Perhaps this will prove not to be what's wanted, but at the moment we can initdb and pass regression tests in Turkish locale.
2004-03-22I just noticed that \dp outputs "Table" to indicate relations (tables,Bruce Momjian
sequences and views). This patch allows it to handle views and sequences. Euler Taveira de Oliveira
2004-01-09Have psql help show \w parameter as requied.Bruce Momjian
2003-12-01This makes help like this:Bruce Momjian
\lo_export LOBOID FILE \lo_import FILE [COMMENT] \lo_list \lo_unlink LOBOID large object operations Instead of not saying anything about what arguments are required. Christopher Kings-Lynne
2003-12-01attached is a patch that adds display of the groups a user belongs to toBruce Momjian
\du and a \dg command to psql. It's against 7.4beta5. Markus Bertheau <twanger@bluetwanger.de>
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon
2003-10-02Add documentation about \pset footer to \?.Peter Eisentraut
from Patrick Welche
2003-09-14Allow translation of SQL help in psql.Peter Eisentraut
2003-09-11seemed like a typo in one of the appendix tablesBruce Momjian
Robert Treat
2003-09-10Update row count for \? output, used by pager.Bruce Momjian
2003-08-04Fix some copyright notices that weren't updated. Improve copyright toolTom Lane
so it won't miss 'em again.
2003-08-04pgindent run.Bruce Momjian
2003-07-25Update copyrights to 2003.Bruce Momjian
print.c: Add one more line to pager calculation to account for the prompt. help.c: Call PageOutput with correct number of lines within slashUsage Add one to line count in helpSQL to account for "Available help:" line. Make copyright match COPYRIGHT file. (Just "1994") Greg Sabino Mullane
2003-07-23Apply message style guide to frontend programs.Peter Eisentraut
2003-06-11Document the -h client flag can use a socket directory as well as a hostBruce Momjian
name.
2003-04-14Document file name as optional for \o in psql help (\h).Bruce Momjian
2003-03-18Make the printing code somewhat more independent by not relying onPeter Eisentraut
functions and global variables from the rest of psql. Also clean up some data type mismatches created by the last pager patch.
2003-03-10Cleanup up psql \connect and \pset pager setting display, DennisBruce Momjian
Bj?rklund.
2003-01-07Apply the proper version of Christopher Kings-Lynne's describe patchTom Lane
(ie, the one with describe-schema support). Minor code review. Adjust display of casts to use standard type names.
2002-12-13Increment libpq major number for 7.3.1 and minor for 7.4.Bruce Momjian
2002-12-12TODO marked as done:Bruce Momjian
* Add schema, cast, and conversion backslash commands to psql I had to create a new publically available function, pg_conversion_is_visible, as it seemed to be missing from the catalogs. This required me to do no small amount of hacking around in namespace.c I have updated the \? help and sgml docs. \dc - list conversions [PATTERN] \dC - list casts \dn list schemas I didn't support patterns with casts as there's nothing obvious to match against. Catalog version incremented --- initdb required. Christopher Kings-Lynne
2002-12-11Move psql \? Formatting above Large Object/Copy.Bruce Momjian