aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/psql.c
Commit message (Collapse)AuthorAge
* Fix for inclusion of new prompt output.Bruce Momjian1996-12-01
|
* Add indicator for in quote or in query to prompt.Bruce Momjian1996-11-30
|
* Whoops, redo Ultrix patch so the other ports still compile.Bryan Henderson1996-11-26
|
* Make it compile on Ultrix. Thanks Erik Bertelson.Bryan Henderson1996-11-26
|
* Typecasts, etc. to make compile work on AIX. Thanks Darren King..Bryan Henderson1996-11-24
|
* Fix for \g strdup error.Bruce Momjian1996-11-22
|
* Include ctype.h to fix Kurt Lidl's compile problem.Bryan Henderson1996-11-22
|
* Fix \g filename. Free allocated memory and don't use memory that hasBruce Momjian1996-11-20
| | | | been freed.
* Overhaul MainLoop input processing for quotes, comments, backslashes.Bruce Momjian1996-11-14
|
* Remove warnings when readline is not used.Bruce Momjian1996-11-11
|
* All external function definitions now have prototypes that are checked.Bruce Momjian1996-11-10
|
* More compile cleanupsBruce Momjian1996-11-08
|
* Compile and warning cleanupBruce Momjian1996-11-08
|
* Add frontend \copy command.Bryan Henderson1996-11-04
|
* Change display of char(5) to (bp)char 5 so psql \d canBruce Momjian1996-10-14
| | | | distinguish between char and char(1).
* Changed psql \h command to print commands in three columns.Bruce Momjian1996-10-09
| | | | No more scrolling off the screen.
* The following diffs remove the various definitions of dupstr() and replaceMarc G. Fournier1996-09-16
| | | | | | all the calls with strdup. Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain)
* command line flag for expanded display '-x' had logic reversedJulian Assange1996-08-21
|
* This patch can be installed as part of 1.02.1 so people can properlyMarc G. Fournier1996-08-14
| | | | | | | | | | | | | | | | | | | | | | | | pg_dump and load to 2.0. I haven't gotten any feedback on whether people want it, so I am submitting it for others to decide. I would recommend an install in 1.02.1. I had said that the 2.0 pg_dump could dump a 1.02.1 database, but I was wrong. The copy is actually performed by the backend, and the 2.0 database will not be able to read 1.02.1 databases because of the new system columns. This patch does several things. It copies nulls out as \N, so they can be distinguished from '' strings. It fixes a problem where backslashes in the input stream were not output as double-backslashes. Without this patch, backslashes copied out were deleted upon input, or interpreted as special characters. Third, input is now terminated by backslash-period. This can not be part of a normal input stream. I tested this by creating a database with all sorts of nulls, backslash, and period fields and dumped the database and reloaded into a new database and compared them. Submitted by: Bruce
* |Marc G. Fournier1996-08-14
| | | | | | | | | | | | | | | | |We're all too familiar with psql's "no response from backend" message. |Users can't tell what this means, and psql continues prompting for |commands after it even though the backend is dead and no commands can |succeed. It eventually dies on a signal when the dead socket fills |up. I extended the message to offer a better explanation and made |psql exit when it finds the backend is dead. | |I also added a short message and newline when the user does a ctl-D so |it doesn't mess up the terminal display. | | Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
* Another small patch fix...Marc G. Fournier1996-08-10
| | | | Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
* added patch from kurt that fixes memory leak (didn't free line bufferJulian Assange1996-08-06
| | | | for slash commands)
* Fixes:Marc G. Fournier1996-07-31
| | | | | | | | | | | updates the psql.1 manual page for \ options add row count and ties it to the header option updated manual pages and comment for above change got \? to display in one screen-full (almost, \? scrolls off top) moved \r to \E, and \z to \r (for historical reasons with monitor) small code alignment cleanup Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
* The decode function in psql.c doesn't return anything, so itsMarc G. Fournier1996-07-29
| | | | | | declaration is incorrect. -Kurt
* cosmetic changes: char* x changed to char *xMarc G. Fournier1996-07-28
| | | | submitted by: bruce
* reversed bruces patch to getopt() loop about optargMarc G. Fournier1996-07-28
| | | | submitted by: bruce
* bugfix: if NOREADLINE was not defined and input was not from a tty, thenJulian Assange1996-07-28
| | | | the getopt() was not executed.
* Various fixes required for psqlMarc G. Fournier1996-07-27
| | | | Submitted by: Bruce
* and now, the long awaited PAGER patches from Bruce...Marc G. Fournier1996-07-27
| | | | Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
* Further modifications for fixing createuser bug...Marc G. Fournier1996-07-27
| | | | Submitted by: Rick Weldon <rick@wisetech.com>
* Large re-write/enhancement. In pg-101 Jolly only included a smaller partJulian Assange1996-07-25
| | | | | | | | of my (proff) patch. This is the rest of it, with a few, mainly aesthetic changes. I've removed a lot of redundency from the original code, added support for the new PQprint() routines in libpq, expanded tables, and a few generally nifty ways of massaging data in and out of the backend. Still needs some good stress testing.
* Put in a new FAQMarc G. Fournier1996-07-23
| | | | Merged in Dr. George's src/bin tree (possibly broke monitor/psql in process)
* Fix for:Marc G. Fournier1996-07-20
| | | | | | | | | | | | > > We did some testing and found that if we name the table 'Inv' with > anything appended to it, the table does not appear in the '\d' table list. > It appears to be the capital I as a table named 'invItemsL' is created > and displayed properly. > - submitted by: Jason Wright <jason@shiloh.vnet.net>
* libpq and psql.c have been modified to do various things they didn't doMarc G. Fournier1996-07-18
| | | | | | | | | | | before (plus some optimisations/bug fixes et al). I've included a small demo transcript below. Note that all of of the display functionality/intelligence you see here, can be had merely by calling the new LIBPQ PQprint() routine with the appropriate arguments/options, including the HTML3 output guff. submitted by: Julian Assange <proff@suburbia.net>
* fix: clean up formatting of \d tablename in psqlMarc G. Fournier1996-07-16
| | | | submitted by: Bruce Momjian (root@candle.pha.pa.us)
* applied fixes for psqlMarc G. Fournier1996-07-16
| | | | | | | - \p produces traditional results - \r added submitted by: Bruce Momjian (root@candle.pha.pa.us)
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-09