1. 19 6月, 2018 5 次提交
  2. 18 6月, 2018 1 次提交
    • M
      docs - gpbackup/gprestore new functionality. (#5157) · 6df82183
      Mel Kiyama 提交于
      * docs - gpbackup/gprestore new functionality.
      
      --gpbackup new option --jobs to backup tables in parallel.
      --gprestore  --include-table* options support restoring views and sequences.
      
      * docs - gpbackup/gprestore. fixed typos. Updated backup/restore of sequences and views
      
      * docs - gpbackup/gprestore - clarified information on dependent objects.
      
      * docs - gpbackup/gprestore - updated information on locking/quiescent state.
      
      * docs - gpbackup/gprestore - clarify connection in --jobs option.
      6df82183
  3. 16 6月, 2018 1 次提交
    • A
      Fix incorrect modification of storageAttributes.compress. · 7c82d50f
      Ashwin Agrawal 提交于
      For CO table, storageAttributes.compress only conveys if should apply block
      compression or not. RLE is performed as stream compression within the block and
      hence storageAttributes.compress true or false doesn't relate to rle at all. So,
      with rle_type compression storageAttributes.compress is true for compression
      levels > 1 where along with stream compression, block compression is
      performed. For compress level = 1 storageAttributes.compress is always false as
      no block compression is applied. Now since rle doesn't relate to
      storageAttributes.compress there is no reason to touch the same based on
      rle_type compression.
      
      Also, the problem manifests more due the fact in datumstream layer
      AppendOnlyStorageAttributes in DatumStreamWrite (`acc->ao_attr.compress`) is
      used to decide block type whereas in cdb storage layer functions
      AppendOnlyStorageAttributes from AppendOnlyStorageWrite
      (`idesc->ds[i]->ao_write->storageAttributes.compress`) is used. Due to this
      difference changing just one that too unnecessarily is bound to cause issue
      during insert.
      
      So, removing the unnecessary and incorrect update to
      AppendOnlyStorageAttributes.
      
      Test case showcases the failing scenario without the patch.
      7c82d50f
  4. 15 6月, 2018 2 次提交
  5. 14 6月, 2018 4 次提交
  6. 13 6月, 2018 1 次提交
  7. 12 6月, 2018 8 次提交
  8. 11 6月, 2018 5 次提交
  9. 09 6月, 2018 3 次提交
  10. 08 6月, 2018 10 次提交
    • T
      Update time zone data files to tzdata release 2018e. · f9c94e87
      Tom Lane 提交于
      This commit pulls in the latest tzdata from Postgres 11. We
      intentionally left out comment changes to
      `src/backend/utils/adt/datetime.c` because it's not applicable (yet).
      
      > DST law changes in North Korea.  Redefinition of "daylight savings" in
      > Ireland, as well as for some past years in Namibia and Czechoslovakia.
      > Additional historical corrections for Czechoslovakia.
      >
      > With this change, the IANA database models Irish timekeeping as following
      > "standard time" in summer, and "daylight savings" in winter, so that the
      > daylight savings offset is one hour behind standard time not one hour
      > ahead.  This does not change their UTC offset (+1:00 in summer, 0:00 in
      > winter) nor their timezone abbreviations (IST in summer, GMT in winter),
      > though now "IST" is more correctly read as "Irish Standard Time" not "Irish
      > Summer Time".  However, the "is_dst" column in the pg_timezone_names view
      > will now be true in winter and false in summer for the Europe/Dublin zone.
      >
      > Similar changes were made for Namibia between 1994 and 2017, and for
      > Czechoslovakia between 1946 and 1947.
      >
      > So far as I can find, no Postgres internal logic cares about which way
      > tm_isdst is reported; in particular, since commit b2cbced9 we do not
      > rely on it to decide how to interpret ambiguous timestamps during DST
      > transitions.  So I don't think this change will affect any Postgres
      > behavior other than the timezone-view outputs.
      >
      > Discussion: https://postgr.es/m/30996.1525445902@sss.pgh.pa.us
      (cherry picked from commit 234bb985)
      Co-authored-by: NJesse Zhang <sbjesse@gmail.com>
      Co-authored-by: NTaylor Vesely <tvesely@pivotal.io>
      f9c94e87
    • T
      Sync our copy of the timezone library with IANA release tzcode2018e. · 20269256
      Tom Lane 提交于
      The non-cosmetic changes involve teaching the "zic" tzdata compiler about
      negative DST.  While I'm not currently intending that we start using
      negative-DST data right away, it seems possible that somebody would try
      to use our copy of zic with bleeding-edge IANA data.  So we'd better be
      out in front of this change code-wise, even though it doesn't matter for
      the data file we're shipping.
      
      Discussion: https://postgr.es/m/30996.1525445902@sss.pgh.pa.us
      (cherry picked from commit b45f6613)
      20269256
    • T
      Update time zone data files to tzdata release 2018d. · 2f947d38
      Tom Lane 提交于
      DST law changes in Palestine and Antarctica (Casey Station).  Historical
      corrections for Portugal and its colonies, as well as Enderbury, Jamaica,
      Turks & Caicos Islands, and Uruguay.
      
      (cherry picked from commit df629586)
      2f947d38
    • J
      Remove dead timezone data files · c2ac283c
      Jesse Zhang 提交于
      This should have been part of commit
      f590dc94 but we forgot. Now remove them
      for good.
      Co-authored-by: NTaylor Vesely <tvesely@pivotal.io>
      c2ac283c
    • S
      fixing the broken concourse badge in README (#5120) · d1f23c96
      Scott Kahler 提交于
      d1f23c96
    • D
      docs - remove restricted start for gpcopy procedure · 999beafb
      David Yozie 提交于
      999beafb
    • N
      resgroup: load resgroup settings even for bypassed queries. · 92ffdcb7
      Ning Yu 提交于
      `SHOW memory_spill_ratio` will always display 20 when it's the first
      query in a connection (if you run this query in psql and pressed TAB
      when entering the command then the implicit queries ran by the tab
      completion function will be the first), the root cause is that SHOW
      command will be bypassed in resgroup, so the bound resgroup will not be
      assigned, and the resgroup's settings will not be loaded.
      
      To display the proper value in this case we will also load the resgroup
      settings even for bypassed queries.
      92ffdcb7
    • A
      Reduce runtimes for some qp_* tests. · 94c30fdb
      Ashwin Agrawal 提交于
      Before:
           qp_functions             ... ok (76.24 sec)  (diff:0.06 sec)
           qp_gist_indexes4         ... ok (88.46 sec)  (diff:0.07 sec)
           qp_with_clause           ... ok (130.70 sec)  (diff:0.32 sec)
      
      After:
           qp_functions             ... ok (4.49 sec)  (diff:0.06 sec)
           qp_gist_indexes4         ... ok (16.18 sec)  (diff:0.06 sec)
           qp_with_clause           ... ok (54.41 sec)  (diff:0.30 sec)
      94c30fdb
    • L
      docs - misc updates to gptransfer (#5048) · 77c0d584
      Lisa Owen 提交于
      * docs - misc updates to gptransfer
      
      - conref from best practices to admin guide
      - qualify use for migration to diff number of segments
      - misc edits
      
      * conditionalize
      77c0d584
    • D
      Gpcopy migration/using docs (#5074) · dbb4b61a
      David Yozie 提交于
      * docs -draft update for migrating with gpcopy
      
      * docs - migrating w/ gpcopy - updated ditamap
      
      * add 'pivotal' condition
      
      * some edits, additions, reorg
      
      * removing ssh as a requirement (per comment on related PR)
      
      * Clarifying that same-cluster copies aren't supported
      
      * 4.3.16 -> 4.3.26
      
      * replace --truncate with --truncate-source-after
      
      * add note to start clusters in restricted mode
      
      * add note about md5 validation when migrating between major version
      
      * add pg_dump, pg_dumpall, psql dependencies in prerequisites section
      
      * add info about actual free space needed for migration
      
      * updating discussion of free space calculation
      
      * updating to use new gpcopy option names
      
      * more updates to clarify migration proc
      
      * removing contentious statement about indexing (not present in main docs); adding resource groups to list of objects copied
      
      * removing note about md5xor not working for version migration
      
      * add note regarding validation with --append
      
      * add note to install client package to get gpcopy dependencies
      
      * removed --no-compression info as that's the default for same-host copies; relocated basic migration instructions
      
      * replacing error section with reviewed info from ref page
      
      * updating migration topics to use procedure format
      
      * adding some post-migration steps for gpcopy
      
      * address more feedback from brian; reorganize migration steps a bit; add general post-migration instructions from the relnotes
      dbb4b61a