1. 09 8月, 2017 9 次提交
  2. 08 8月, 2017 14 次提交
  3. 07 8月, 2017 5 次提交
  4. 05 8月, 2017 12 次提交
    • C
      Use latest available apr in travis build · 2c68384e
      C.J. Jameson 提交于
      Error message on Travis was:
      
      ```
      $ wget http://ftp.jaist.ac.jp/pub/apache/apr/${APR_TAR}
      --2017-08-02 06:45:44--  http://ftp.jaist.ac.jp/pub/apache/apr/apr-1.5.2.tar.gz
      Resolving ftp.jaist.ac.jp (ftp.jaist.ac.jp)... 150.65.7.130, 2001:df0:2ed:feed::feed
      Connecting to ftp.jaist.ac.jp (ftp.jaist.ac.jp)|150.65.7.130|:80... connected.
      HTTP request sent, awaiting response... 404 Not Found
      2017-08-02 06:45:45 ERROR 404: Not Found.
      The command "wget http://ftp.jaist.ac.jp/pub/apache/apr/${APR_TAR}" failed and exited with 8 during .
      ```
      2c68384e
    • K
      Group remaining Pulse jobs and CCP adopted jobs · 3f6d7896
      Kris Macoskey 提交于
      Signed-off-by: NJim Doty <jdoty@pivotal.io>
      3f6d7896
    • K
      Protect CCP users from a breaking change · 8ec24895
      Kris Macoskey 提交于
      In order to protect users of the concourse cluster provisioner service from
      some pending breaking changes, we are pinning the master pipeline to the latest
      tag for the concourse cluster provisioner repo.  We will in the future facilitate
      upgrades on the master pipeline to take advantage of the next release.
      Signed-off-by: NJim Doty <jdoty@pivotal.io>
      8ec24895
    • D
      Fix typo · 09d52367
      Daniel Gustafsson 提交于
      [ci skip]
      09d52367
    • M
      gpinitsystem: don't print usages if there's a -c and -i issue · 2a47ec9b
      Marbin Tan 提交于
      It's easy to lose log/error information if we print the usage when there is an
      error with the cluster config and/or input config option.
      Make it more direct by just showing the error to the user.
      2a47ec9b
    • M
      minor cleanup to expose icw_resource_group · f1593229
      Mike Roth 提交于
      f1593229
    • A
      XLOG_HINT integration with persistent table (PT) · a21da89e
      Ashwin Agrawal 提交于
      We add the PT information in addition to the backup block for proper recovery.
      In this case, during XLog redo, the blocks of the dropped tables will not be
      restored after consulting PT.
      
      In order to fetch the PT information, we have to pass Relation to
      MarkBufferDirtyHint(). For that interface change, we refactored
      MarkBufferDirtyHint() with additional Relation parameter. The relation
      information is eventually passed to XLogSaveBufferForHint() to fetch the PT
      information when preparing the XLOG_HINT record.
      a21da89e
    • T
      Refactor checksumming code to make it easier to use externally. · bad76320
      Tom Lane 提交于
      pg_filedump and other external utility programs are likely to want to be
      able to check Postgres page checksums.  To avoid messy duplication of code,
      move the checksumming functionality into an exported header file, much as
      we did awhile back for the CRC code.
      
      In passing, get rid of an unportable assumption that a static char[] array
      will be word-aligned, and do some other minor code beautification.
      
      (cherry picked from commit f0421634)
      bad76320
    • S
      Compiler optimizations for page checksum code. · 418cc70c
      Simon Riggs 提交于
      Ants Aasma and Jeff Davis
      
      (cherry picked from commit fdea2530)
      418cc70c
    • S
      Introduce new page checksum algorithm and module. · 3fe41fe1
      Simon Riggs 提交于
      Isolate checksum calculation to its own module, so that bufpage
      knows little if anything about the details of the calculation.
      
      This implementation is a modified FNV-1a hash checksum, details
      of which are given in the new checksum.c header comments.
      
      Basic implementation only, so we fix the output value.
      
      Later related commits will add version numbers to pg_control,
      compiler optimization flags and memory barriers.
      
      Ants Aasma, reviewed by Jeff Davis and Simon Riggs
      
      (cherry picked from commit 43e7a668)
      3fe41fe1
    • S
      Skip extraneous locking in XLogCheckBuffer(). · 42ec21e1
      Simon Riggs 提交于
      Heikki reported comment was wrong, so fixed
      code to match the comment: we only need to
      take additional locking precautions when we
      have a shared lock on the buffer.
      
      (cherry picked from commit 5787c673)
      42ec21e1
    • S
      Avoid tricky race condition recording XLOG_HINT · 141479d4
      Simon Riggs 提交于
      We copy the buffer before inserting an XLOG_HINT to avoid WAL CRC errors
      caused by concurrent hint writes to buffer while share locked. To make this work
      we refactor RestoreBackupBlock() to allow an XLOG_HINT to avoid the normal
      path for backup blocks, which assumes the underlying buffer is exclusive locked.
      Resulting code completely changes layout of XLOG_HINT WAL records, but
      this isn't even beta code, so this is a low impact change.
      In passing, avoid taking WALInsertLock for full page writes on checksummed
      hints, remove related cruft from XLogInsert() and improve xlog_desc record for
      XLOG_HINT.
      
      Andres Freund
      
      Bug report by Fujii Masao, testing by Jeff Janes and Jaime Casanova,
      review by Jeff Davis and Simon Riggs. Applied with changes from review
      and some comment editing.
      
      (cherry picked from commit 47c43331)
      141479d4