Skip to content
Snippets Groups Projects
  1. Jul 03, 2010
  2. Jul 02, 2010
    • Robert Haas's avatar
      Move copydir.c from src/port to src/backend/storage/file · bb0fe9fe
      Robert Haas authored
      The previous commit to make copydir() interruptible prevented
      postgres.exe from linking on MinGW and Cygwin, because on those
      platforms libpgport_srv.a can't freely reference symbols defined
      by the backend.  Since that code is already backend-specific anyway,
      just move the whole file into the backend rather than adding further
      kludges to deal with the symbols needed by CHECK_FOR_INTERRUPTS().
      
      This probably needs some further cleanup, but this commit just moves
      the file as-is, which should hopefully be enough to turn the
      buildfarm green again.
      bb0fe9fe
    • Bruce Momjian's avatar
      Issue 'mkdir' hint when replying CREATE TABLESPACE in recovery mode. · 621cf146
      Bruce Momjian authored
      Per idea from Fujii Masao
      621cf146
  3. Jul 01, 2010
    • Robert Haas's avatar
      Allow copydir() to be interrupted. · 71d6d075
      Robert Haas authored
      This makes ALTER DATABASE .. SET TABLESPACE and CREATE DATABASE more
      sensitive to interrupts.  Backpatch to 8.4, where ALTER DATABASE .. SET
      TABLESPACE was introduced.  We could go back further, but in the absence
      of complaints about the CREATE DATABASE case it doesn't seem worth it.
      
      Guillaume Lelarge, with a small correction by me.
      71d6d075
    • Robert Haas's avatar
      Allow ALTER TABLE .. SET TABLESPACE to be interrupted. · c6cf3060
      Robert Haas authored
      Backpatch to 8.0, where tablespaces were introduced.
      
      Guillaume Lelarge
      c6cf3060
  4. Jun 30, 2010
    • Heikki Linnakangas's avatar
      stringToNode() and deparse_expression_pretty() crash on invalid input, · 350ab443
      Heikki Linnakangas authored
      but we have nevertheless exposed them to users via pg_get_expr(). It would
      be too much maintenance effort to rigorously check the input, so put a hack
      in place instead to restrict pg_get_expr() so that the argument must come
      from one of the system catalog columns known to contain valid expressions.
      
      Per report from Rushabh Lathia. Backpatch to 7.4 which is the oldest
      supported version at the moment.
      350ab443
  5. Jun 29, 2010
  6. Jun 28, 2010
  7. Jun 27, 2010
    • Tom Lane's avatar
      Fix pg_restore so parallel restore doesn't fail when the input file doesn't · b779ea8a
      Tom Lane authored
      contain data offsets (which it won't, if pg_dump thought its output wasn't
      seekable).  To do that, remove an unnecessarily aggressive error check, and
      instead fail if we get to the end of the archive without finding the desired
      data item.  Also improve the error message to be more specific about the
      cause of the problem.  Per discussion of recent report from Igor Neyman.
      
      Back-patch to 8.4 where parallel restore was introduced.
      b779ea8a
  8. Jun 25, 2010
  9. Jun 24, 2010
  10. Jun 23, 2010
    • Robert Haas's avatar
      Add TCP keepalive support to libpq. · d8cd283a
      Robert Haas authored
      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
  11. Jun 22, 2010
    • Robert Haas's avatar
      Deprecate the use of => as an operator name. · f9742123
      Robert Haas authored
      In HEAD, emit a warning when an operator named => is defined.
      In both HEAD and the backbranches (except in 8.2, where contrib
      modules do not have documentation), document that hstore's text =>
      text operator may be removed in a future release, and encourage the
      use of the hstore(text, text) function instead.  This function only
      exists in HEAD (previously, it was called tconvert), so backpatch
      it back to 8.2, when hstore was added.  Per discussion.
      f9742123
  12. Jun 21, 2010
  13. Jun 17, 2010
  14. Jun 16, 2010
  15. Jun 15, 2010
  16. Jun 14, 2010
  17. Jun 13, 2010
  18. Jun 12, 2010
  19. Jun 11, 2010
  20. Jun 10, 2010
Loading