- 20 Jun, 1997 1 commit
-
-
Bruce Momjian authored
-
- 11 Jun, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [PATCHES] sequences display in psql Well, I am away at Progress training (not Postgres!!) and desided to do this patch during a break. This will allow listing of sequences in addition to listing of tables and indicies: \d would should indicies, tables, and sequences \ds would show sequences only.
-
- 06 Jun, 1997 2 commits
-
-
Marc G. Fournier authored
Subject: [PATCHES] psql and large objects fix Psql was broken by using "Inv[0-9]+" instead of "xin[xv][0-9]+" to not show large object files. Been this way for a long time too. Relic of an older naming convention, perhaps?
-
Marc G. Fournier authored
Subject: [PATCHES] More psql and libpq patches Well..these would be the last patches until the release (I hope)... I ran the regression tests while watching psql under purify, and it did not leak even one byte. In this patch: * Plugged a major leak when PSQL reads files for input (either through \i options or through -f option) * Fixed the one remaining leak in PSQL in not clearing PGresult *results everywhere it is supposed to. (Thanks Tymm) * Fixed A small leak in PSQL not clearing all the PGsettings correctly. * A not-so-obvious (but small) leak in Libpq when PQsetdb fails for any reason. * Added \n to some Libpq error messages to make them easier to digest.. * Finally, added /* PURIFY */ comment to some of the code indicating the reason for why it was added/changed...for future developers.
-
- 03 Jun, 1997 1 commit
-
-
Vadim B. Mikheev authored
psql.c: In function `HandleSlashCmds': psql.c:1141: warning: `optarg3' might be used uninitialized in this function psql.c:1157: warning: `optarg3' might be used uninitialized in this function -> char *optarg3 = NULL;
-
- 02 Jun, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [PATCHES] patch for a memory leak Well...I screwed up and posted the wrong patch for psql originally.. The patch for that patch wposted below will fix it..
-
- 01 Jun, 1997 2 commits
-
-
Marc G. Fournier authored
Subject: [PATCHES] psql - \dt,\di commands. I sent this a couple of months ago in re a request by Maxim Kozin, but I had the patch reversed, creating some confusion over applying it. Here's a more complete version. Adds \dt to list only tables/views and \di to list only indicies. \d will still work as before.
-
Marc G. Fournier authored
Subject: [PATCHES] memory leak patches in libpq and psql A couple of small memory leak patches (detected with Purify) primarily in libpq. * Fixed (NULL) border problem in psql (run psql, do \m, then select something from a table...row separators will be nulls) * Fixed memory leak with the abovementioned border not being freed properly. * Fixed memory leak in freePGconn() not freeing conn->port * Fixed up PQclear() to free parts of PGresult only if these parts are not null. * Fixed a decent memory leak that occured after executing every command in psql. PGresult *results was not freed most of the time. There is still a leak being detected (2 bytes) in readline functions, but I think this is old readline library. I will install new one and test it.
-
- 24 May, 1997 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 23 May, 1997 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 22 May, 1997 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 21 May, 1997 1 commit
-
-
Bruce Momjian authored
-
- 10 Apr, 1997 1 commit
-
-
Marc G. Fournier authored
- if someone can pick a better \? for this, plesae let me know...all the good ones seem taken :(
-
- 12 Mar, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [HACKERS] password authentication This patch adds support for plaintext password authentication. To use it, you add a line like host all 0.0.0.0 0.0.0.0 password pg_pwd.conf to your pg_hba.conf, where 'pg_pwd.conf' is the name of a file containing the usernames and password hashes in the format of the first two fields of a Unix /etc/passwd file. (Of course, you can use a specific database name or IP instead.) Then, to connect with a password through libpq, you use the PQconnectdb() function, specifying the "password=" tag in the connect string and also adding the tag "authtype=password". I also added a command-line switch '-u' to psql that tells it to prompt for a username and password and use password authentication.
-
- 13 Feb, 1997 1 commit
-
-
Marc G. Fournier authored
Replaced NEED_STRDUP by !HAVE_STRDUP
-
- 11 Feb, 1997 1 commit
-
-
Bruce Momjian authored
-
- 26 Jan, 1997 1 commit
-
-
Marc G. Fournier authored
-
- 25 Jan, 1997 5 commits
-
-
Marc G. Fournier authored
be #ifdef'd into psql.c itself From what I can tell, if USE_READLINE is true or false, psql works under FreeBSD, without configure. Now to test it *again* under sparc_solaris with configure and see if it works...
-
Marc G. Fournier authored
Added a README.readline file until configure is integrated to *try* and explain the way things stand. Removed a stray configure .in file
-
Marc G. Fournier authored
Add some code to make psql happy with a system where there is *no* history code available, but there is readline code...
-
Marc G. Fournier authored
history.h doesn't...previously, it was assumed that both existed, or didn't exist...but this assumption fails on the one sparc_solaris box that I have access to, and could exist in other circumstances
-
Marc G. Fournier authored
See message to hackers@ mailing list concerning this...
-
- 13 Jan, 1997 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 10 Jan, 1997 1 commit
-
-
Bruce Momjian authored
Here is a trivial patch to get back the 1.09 behavior; it just removes trailing newlines before printing the line out with a newline rather than after... Thomas Lockhart
-
- 05 Jan, 1997 1 commit
-
-
Marc G. Fournier authored
This corrects the newline handling when using the readline library. Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
-
- 02 Jan, 1997 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 28 Dec, 1996 1 commit
-
-
Bruce Momjian authored
gmake of the code without interruption. There's also some tidy-up of the MAXPATHLEN stuff based on the assumption that all supported platforms have MAXPATHLEN defined in <sys/param.h>. (The only unknowns for the above are AIX and IRIX5.)
-
- 26 Dec, 1996 3 commits
-
-
Bruce Momjian authored
-
Bryan Henderson authored
-
Bruce Momjian authored
database changes. To fix, apply the following patch:- Keith Parks.
-
- 14 Dec, 1996 1 commit
-
-
Vadim B. Mikheev authored
^ - deleted free(settings->opt.fieldSep);
-
- 11 Dec, 1996 1 commit
-
-
Bruce Momjian authored
-
- 01 Dec, 1996 1 commit
-
-
Bruce Momjian authored
-
- 30 Nov, 1996 1 commit
-
-
Bruce Momjian authored
-
- 26 Nov, 1996 1 commit
-
-
Bryan Henderson authored
-