1. 11 Oct, 2001 4 commits
    • Bruce Momjian's avatar
      Tatsuo Ishii <t-ishii@sra.co.jp> writes: · 78f7ba13
      Bruce Momjian authored
      > As you can see, psql reconnect as any user if the password is same as
      > foo. Of course this is due to the careless password setting, but I
      > think it's better to prompt ANY TIME the user tries to switch to
      > another user. Comments?
      
      Yeah, I agree.  Looks like a simple change in dbconnect():
      
          /*
           * Use old password if no new one given (if you didn't have an old
           * one, fine)
           */
          if (!pwparam && oldconn)
              pwparam = PQpass(oldconn);
      
      to
      
          /*
           * Use old password (if any) if no new one given and we are
           * reconnecting as same user
           */
          if (!pwparam && oldconn && PQuser(oldconn) && userparam &&
              strcmp(PQuser(oldconn), userparam) == 0)
              pwparam = PQpass(oldconn);
      
                              regards, tom lane
      78f7ba13
    • Bruce Momjian's avatar
      Update TODO list. · b0c4598c
      Bruce Momjian authored
      b0c4598c
    • Bruce Momjian's avatar
    • Tatsuo Ishii's avatar
      Add support for ISO-8859-6 to 16 · 51053d32
      Tatsuo Ishii authored
      51053d32
  2. 10 Oct, 2001 1 commit
  3. 09 Oct, 2001 7 commits
  4. 08 Oct, 2001 8 commits
  5. 06 Oct, 2001 2 commits
  6. 05 Oct, 2001 12 commits
  7. 04 Oct, 2001 6 commits