1. 07 2月, 2011 1 次提交
  2. 05 2月, 2011 1 次提交
  3. 03 2月, 2011 1 次提交
  4. 30 1月, 2011 1 次提交
  5. 18 1月, 2011 1 次提交
  6. 14 1月, 2011 1 次提交
  7. 13 1月, 2011 1 次提交
  8. 29 12月, 2010 1 次提交
  9. 27 12月, 2010 1 次提交
  10. 22 12月, 2010 1 次提交
    • M
      Add PQlibVersion() function to libpq · de9a4c27
      Magnus Hagander 提交于
      This function is like the PQserverVersion() function except
      it returns the version of libpq, making it possible for a client
      program or driver to determine which version of libpq is in
      use at runtime, and not just at link time.
      
      Suggested by Harald Armin Massa and several others.
      de9a4c27
  11. 11 12月, 2010 1 次提交
  12. 27 11月, 2010 2 次提交
    • T
      A bit more wordsmithing on the PQping documentation. · d53c1255
      Tom Lane 提交于
      d53c1255
    • T
      Rewrite PQping to be more like what we agreed to last week. · db96e1cc
      Tom Lane 提交于
      Basically, we want to distinguish all cases where the connection was
      not made from those where it was.  A convenient proxy for this is to
      see if we got a message with a SQLSTATE code back from the postmaster.
      This presumes that the postmaster will always send us a SQLSTATE in
      a failure message, which is true for 7.4 and later postmasters in
      every case except fork failure.  (We could possibly complicate the
      postmaster code to do something about that, but it seems not worth
      the trouble, especially since pg_ctl's response for that case should
      be to keep waiting anyway.)
      
      If we did get a SQLSTATE from the postmaster, there are basically only
      two cases, as per last week's discussion: ERRCODE_CANNOT_CONNECT_NOW
      and everything else.  Any other error code implies that the postmaster
      is in principle willing to accept connections, it just didn't like or
      couldn't handle this particular request.  We want to make a special
      case for ERRCODE_CANNOT_CONNECT_NOW so that "pg_ctl start -w" knows
      it should keep waiting.
      
      In passing, pick names for the enum constants that are a tad less
      likely to present collision hazards in future.
      db96e1cc
  13. 26 11月, 2010 1 次提交
  14. 25 11月, 2010 1 次提交
    • B
      When reporting the server as not responding, if the hostname was · ba11258c
      Bruce Momjian 提交于
      supplied, also print the IP address.  This allows IPv4 and IPv6 failures
      to be distinguished.  Also useful when a hostname resolves to multiple
      IP addresses.
      
      Also, remove use of inet_ntoa() and use our own inet_net_ntop() in all
      places, including in libpq, because it is thread-safe.
      ba11258c
  15. 24 11月, 2010 1 次提交
  16. 22 10月, 2010 1 次提交
  17. 21 9月, 2010 1 次提交
  18. 29 8月, 2010 1 次提交
  19. 17 8月, 2010 1 次提交
  20. 10 8月, 2010 1 次提交
  21. 09 8月, 2010 1 次提交
  22. 05 8月, 2010 1 次提交
  23. 30 7月, 2010 1 次提交
    • P
      Fix indentation of verbatim block elements · 66424a28
      Peter Eisentraut 提交于
      Block elements with verbatim formatting (literallayout, programlisting,
      screen, synopsis) should be aligned at column 0 independent of the surrounding
      SGML, because whitespace is significant, and indenting them creates erratic
      whitespace in the output.  The CSS stylesheets already take care of indenting
      the output.
      
      Assorted markup improvements to go along with it.
      66424a28
  24. 28 7月, 2010 1 次提交
  25. 18 7月, 2010 1 次提交
  26. 15 7月, 2010 1 次提交
    • T
      Allow full SSL certificate verification (wherein libpq checks its host name · d494e685
      Tom Lane 提交于
      parameter against server cert's CN field) to succeed in the case where
      both host and hostaddr are specified.  As with the existing precedents
      for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility
      that host and hostaddr match up --- we just use the host name as given.
      Per bug #5559 from Christopher Head.
      
      In passing, make the error handling and messages for the no-host-name-given
      failure more consistent among these four cases, and correct a lie in the
      documentation: we don't attempt to reverse-lookup host from hostaddr
      if host is missing.
      
      Back-patch to 8.4 where SSL cert verification was introduced.
      d494e685
  27. 08 7月, 2010 1 次提交
  28. 07 7月, 2010 1 次提交
  29. 30 6月, 2010 1 次提交
  30. 26 6月, 2010 1 次提交
    • R
      Rewrite docs for new libpq keepalive parameters. · e3515939
      Robert Haas 提交于
      The revised documentation makes it more clear that these are client-side
      parameters, rather than server side parameters.  It also puts the main
      point of each parameter first, and consolidates the conditions under which
      it might be ignored in a single list at the end.
      e3515939
  31. 24 6月, 2010 1 次提交
    • R
      Add TCP keepalive support to libpq. · d8cd283a
      Robert Haas 提交于
      This adds four additional connection parameters to libpq: keepalives,
      keepalives_idle, keepalives_count, and keepalives_interval.
      keepalives default to on, per discussion, but can be turned off by
      specifying keepalives=0.  The remaining parameters, where supported,
      can be used to adjust how often keepalives are sent and how many
      can be lost before the connection is broken.
      
      The immediate motivation for this patch is to make sure that
      walreceiver will eventually notice if the master reboots without
      closing the connection cleanly, but it should be helpful in other
      cases as well.
      
      Tollef Fog Heen, Fujii Masao, and me.
      d8cd283a
  32. 18 6月, 2010 1 次提交
  33. 11 6月, 2010 1 次提交
  34. 27 5月, 2010 1 次提交
  35. 13 5月, 2010 1 次提交
  36. 03 4月, 2010 1 次提交
    • P
      Remove unnecessary xref endterm attributes and title ids · 6dcce398
      Peter Eisentraut 提交于
      The endterm attribute is mainly useful when the toolchain does not support
      automatic link target text generation for a particular situation.  In  the
      past, this was required by the man page tools for all reference page links,
      but that is no longer the case, and it now actually gets in the way of
      proper automatic link text generation.  The only remaining use cases are
      currently xrefs to refsects.
      6dcce398
  37. 27 2月, 2010 1 次提交
  38. 24 2月, 2010 2 次提交