1. 09 7月, 1998 3 次提交
    • M
      · bd029bcb
      Marc G. Fournier 提交于
      From: Tom Lane <tgl@sss.pgh.pa.us>
      
      The attached patches respond to discussion that was on pgsql-hackers
      around the beginning of June (see thread "libpgtcl bug (and symptomatic
      treatment)").  The changes are:
      
      1. Remove code in connectDB that throws away the password after making
      a connection.  This doesn't really add much security IMHO --- a bad guy
      with access to your client's address space can likely extract the
      password anyway, to say nothing of what he might do directly.  And
      there's the serious shortcoming that it prevents PQreset() from working
      if the database requires a password.
      
      2. Fix coredump problem: fe_sendauth did not guard against being handed
      a NULL password pointer.  (This is the proximate cause of the coredump-
      during-PQreset problem that Magosanyi Arpad complained of last month.)
      
      3. Remove highly questionable "error recovery" logic in libpgtcl's
      pg_exec statement.
      
      I believe the consensus of the discussion last month was in favor of
      #1 and #3, but I'm just now getting around to making the change.
      I realized that #2 was a bug in process of looking at the change.
      bd029bcb
    • M
      · ce812671
      Marc G. Fournier 提交于
      From: Tom Lane <tgl@sss.pgh.pa.us>
      
      Attached are diffs (from current cvs sources) to bring libpq.sgml
      and libpq.3 up to date.
      
      It appears that at various times in the past, people have made edits to
      one or the other of these files but not both.  I propagated some changes
      from each into the other, but I don't think I caught every
      inconsistency.  It'd be real nice if the man pages could be
      automatically generated from the SGML...
      ce812671
    • M
      · a0659e3e
      Marc G. Fournier 提交于
      From: Tom Lane <tgl@sss.pgh.pa.us>
      
      Making PQrequestCancel safe to call in a signal handler turned out to be
      much easier than I feared.  So here are the diffs.
      
      Some notes:
        * I modified the postmaster's packet "iodone" callback interface to allow
          the callback routine to return a continue-or-drop-connection return
          code; this was necessary to allow the connection to be closed after
          receiving a Cancel, rather than proceeding to launch a new backend...
          Being a neatnik, I also made the iodone proc have a typechecked
          parameter list.
        * I deleted all code I could find that had to do with OOB.
        * I made some edits to ensure that all signals mentioned in the code
          are referred to symbolically not by numbers ("SIGUSR2" not "2").
          I think Bruce may have already done at least some of the same edits;
          I hope that merging these patches is not too painful.
      a0659e3e
  2. 08 7月, 1998 14 次提交
  3. 07 7月, 1998 2 次提交
  4. 05 7月, 1998 1 次提交
  5. 04 7月, 1998 2 次提交
  6. 03 7月, 1998 2 次提交
    • B
      win32 cleanup · 9f9644d0
      Bruce Momjian 提交于
      9f9644d0
    • B
      Hello! · c765b4b0
      Bruce Momjian 提交于
      Through some minor changes, I have been able to compile the libpq
      client libraries on the Win32 platform. Since the libpq communications
      part has been rewritten, this has become much easier. Enclosed is
      a patch that will allow at least Microsoft Visual C++ to compile
      libpq into both a static and a dynamic library.  I will take a look
      at porting the psql frontend as well, but I figured it was a good
      idea to send in these patches first - so no major changes are done
      to the files before it gets applied (if it does).
      
      Regards,
        Magnus Hagander
      c765b4b0
  7. 01 7月, 1998 1 次提交
  8. 30 6月, 1998 2 次提交
  9. 29 6月, 1998 3 次提交
  10. 28 6月, 1998 2 次提交
  11. 27 6月, 1998 5 次提交
  12. 26 6月, 1998 1 次提交
  13. 25 6月, 1998 1 次提交
  14. 24 6月, 1998 1 次提交