1. 12 10月, 2001 4 次提交
    • T
      Suppress gcc warnings. · 97d0c8b2
      Tom Lane 提交于
      97d0c8b2
    • B
      Tatsuo Ishii <t-ishii@sra.co.jp> writes: · 78f7ba13
      Bruce Momjian 提交于
      > 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
    • B
      Update TODO list. · b0c4598c
      Bruce Momjian 提交于
      b0c4598c
    • B
      95c18db8
  2. 11 10月, 2001 1 次提交
  3. 10 10月, 2001 4 次提交
  4. 09 10月, 2001 10 次提交
  5. 08 10月, 2001 2 次提交
  6. 07 10月, 2001 1 次提交
    • T
      Rearrange fmgr.c and relcache so that it's possible to keep FmgrInfo · 85801a4d
      Tom Lane 提交于
      lookup info in the relcache for index access method support functions.
      This makes a huge difference for dynamically loaded support functions,
      and should save a few cycles even for built-in ones.  Also tweak dfmgr.c
      so that load_external_function is called only once, not twice, when
      doing fmgr_info for a dynamically loaded function.  All per performance
      gripe from Teodor Sigaev, 5-Oct-01.
      85801a4d
  7. 06 10月, 2001 8 次提交
  8. 05 10月, 2001 10 次提交