1. 20 Jun, 1997 1 commit
  2. 11 Jun, 1997 1 commit
    • Marc G. Fournier's avatar
      From: Igor <igor@sba.miami.edu> · 735bf0b7
      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.
      735bf0b7
  3. 06 Jun, 1997 2 commits
    • Marc G. Fournier's avatar
      From: Darren King <aixssd!darrenk@abs.net> · e721e58c
      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?
      e721e58c
    • Marc G. Fournier's avatar
      From: Igor <igor@sba.miami.edu> · 8d1f52ef
      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.
      8d1f52ef
  4. 03 Jun, 1997 1 commit
    • Vadim B. Mikheev's avatar
      cc1: warnings being treated as errors · cd3f1bca
      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;
      cd3f1bca
  5. 02 Jun, 1997 1 commit
    • Marc G. Fournier's avatar
      From: Igor <igor@sba.miami.edu> · 541f1855
      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..
      541f1855
  6. 01 Jun, 1997 2 commits
    • Marc G. Fournier's avatar
      From: Darren King <aixssd!darrenk@abs.net> · ff038a5b
      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.
      ff038a5b
    • Marc G. Fournier's avatar
      From: Igor <igor@sba.miami.edu> · 9a5529f4
      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.
      9a5529f4
  7. 24 May, 1997 2 commits
  8. 23 May, 1997 2 commits
  9. 22 May, 1997 2 commits
  10. 21 May, 1997 1 commit
  11. 10 Apr, 1997 1 commit
  12. 12 Mar, 1997 1 commit
    • Marc G. Fournier's avatar
      From: Dan McGuirk <mcguirk@indirect.com> · 3a7c93e7
      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.
      3a7c93e7
  13. 13 Feb, 1997 1 commit
  14. 11 Feb, 1997 1 commit
  15. 26 Jan, 1997 1 commit
  16. 25 Jan, 1997 5 commits
  17. 13 Jan, 1997 2 commits
  18. 10 Jan, 1997 1 commit
  19. 05 Jan, 1997 1 commit
    • Marc G. Fournier's avatar
      Fixes: · ea7a26c8
      Marc G. Fournier authored
        This corrects the newline handling when using the readline library.
      
      Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
      ea7a26c8
  20. 02 Jan, 1997 2 commits
  21. 28 Dec, 1996 1 commit
  22. 26 Dec, 1996 3 commits
  23. 14 Dec, 1996 1 commit
  24. 11 Dec, 1996 1 commit
  25. 01 Dec, 1996 1 commit
  26. 30 Nov, 1996 1 commit
  27. 26 Nov, 1996 1 commit