1. 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
  2. 13 Feb, 1997 1 commit
  3. 11 Feb, 1997 1 commit
  4. 26 Jan, 1997 1 commit
  5. 25 Jan, 1997 5 commits
  6. 13 Jan, 1997 2 commits
  7. 10 Jan, 1997 1 commit
  8. 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
  9. 02 Jan, 1997 2 commits
  10. 28 Dec, 1996 1 commit
  11. 26 Dec, 1996 3 commits
  12. 14 Dec, 1996 1 commit
  13. 11 Dec, 1996 1 commit
  14. 01 Dec, 1996 1 commit
  15. 30 Nov, 1996 1 commit
  16. 26 Nov, 1996 2 commits
  17. 24 Nov, 1996 1 commit
  18. 22 Nov, 1996 2 commits
  19. 20 Nov, 1996 1 commit
  20. 14 Nov, 1996 1 commit
  21. 11 Nov, 1996 1 commit
  22. 10 Nov, 1996 1 commit
  23. 08 Nov, 1996 2 commits
  24. 04 Nov, 1996 1 commit
  25. 14 Oct, 1996 1 commit
  26. 09 Oct, 1996 1 commit
  27. 16 Sep, 1996 1 commit
  28. 21 Aug, 1996 1 commit
  29. 14 Aug, 1996 1 commit
    • Marc G. Fournier's avatar
      This patch can be installed as part of 1.02.1 so people can properly · 476ef109
      Marc G. Fournier authored
      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
      476ef109