Skip to content
Snippets Groups Projects
  1. Jun 13, 2011
  2. Jun 12, 2011
  3. Jun 10, 2011
  4. Jun 09, 2011
  5. Jun 08, 2011
    • Tom Lane's avatar
      Make citext's equality and hashing functions collation-insensitive. · 3ebc061c
      Tom Lane authored
      This is an ugly hack to get around the fact that significant parts of the
      core backend assume they don't need to worry about passing collation to
      equality and hashing functions.  That's true for the core string datatypes,
      but citext should ideally have equality behavior that depends on the
      specified collation's LC_CTYPE.  However, there's no chance of fixing the
      core before 9.2, so we'll have to live with this compromise arrangement for
      now.  Per bug #6053 from Regina Obe.
      
      The code changes in this commit should be reverted in full once the core
      code is up to speed, but be careful about reverting the docs changes:
      I fixed a number of obsolete statements while at it.
      3ebc061c
    • Peter Eisentraut's avatar
      Reorder pg_ctl promote after pg_ctl status · 1bcdd663
      Peter Eisentraut authored
      Since start/stop/restart/reload/status is a kind of standard command
      set, it seems odd to insert the special-purpose "promote" in between
      the closely related "restart" and "reload".  So put it after "status"
      in code and documentation.
      
      Put the documentation of the -U option in some sensible place.
      
      Rewrite the synopsis sentence in help and documentation to make it
      less of a growing mouthful.
      1bcdd663
  6. Jun 04, 2011
  7. Jun 03, 2011
  8. Jun 02, 2011
  9. Jun 01, 2011
  10. May 31, 2011
    • Tom Lane's avatar
      Protect GIST logic that assumes penalty values can't be negative. · 6923d699
      Tom Lane authored
      Apparently sane-looking penalty code might return small negative values,
      for example because of roundoff error.  This will confuse places like
      gistchoose().  Prevent problems by clamping negative penalty values to
      zero.  (Just to be really sure, I also made it force NaNs to zero.)
      Back-patch to all supported branches.
      
      Alexander Korotkov
      6923d699
    • Peter Eisentraut's avatar
      Use entities to encode non-ASCII characters in SGML documentation · 85ffed43
      Peter Eisentraut authored
      This has already been the case for the most part; just some cases had
      slipped through.
      85ffed43
    • Tom Lane's avatar
      Replace use of credential control messages with getsockopt(LOCAL_PEERCRED). · be4585b1
      Tom Lane authored
      It turns out the reason we hadn't found out about the portability issues
      with our credential-control-message code is that almost no modern platforms
      use that code at all; the ones that used to need it now offer getpeereid(),
      which we choose first.  The last holdout was NetBSD, and they added
      getpeereid() as of 5.0.  So far as I can tell, the only live platform on
      which that code was being exercised was Debian/kFreeBSD, ie, FreeBSD kernel
      with Linux userland --- since glibc doesn't provide getpeereid(), we fell
      back to the control message code.  However, the FreeBSD kernel provides a
      LOCAL_PEERCRED socket parameter that's functionally equivalent to Linux's
      SO_PEERCRED.  That is both much simpler to use than control messages, and
      superior because it doesn't require receiving a message from the other end
      at just the right time.
      
      Therefore, add code to use LOCAL_PEERCRED when necessary, and rip out all
      the credential-control-message code in the backend.  (libpq still has such
      code so that it can still talk to pre-9.1 servers ... but eventually we can
      get rid of it there too.)  Clean up related autoconf probes, too.
      
      This means that libpq's requirepeer parameter now works on exactly the same
      platforms where the backend supports peer authentication, so adjust the
      documentation accordingly.
      be4585b1
  11. May 30, 2011
  12. May 29, 2011
  13. May 27, 2011
  14. May 25, 2011
    • Peter Eisentraut's avatar
      Put options in some sensible order · 3439e40f
      Peter Eisentraut authored
      For the --help output and reference pages of pg_dump, pg_dumpall,
      pg_restore, put the options in some consistent, mostly alphabetical,
      and consistent order, rather than newest option last or something like
      that.
      3439e40f
  15. May 22, 2011
  16. May 19, 2011
  17. May 18, 2011
  18. May 16, 2011
Loading