1. 08 11月, 2016 4 次提交
    • H
      Use correct length for fields, like in the upstream. · ee1a8e32
      Heikki Linnakangas 提交于
      We don't do EXEC_BACKEND builds at the moment, but if we did, this would
      likely cause compiler or Coverity warnings. Or a crash at runtime, if a
      locale had a really long name.
      ee1a8e32
    • A
      Initial separate pipeline for CS TINC projects. · ec4cdf6f
      Ashwin Agrawal 提交于
      This separate pipeline helps to run the catalog and storage TINC test projects,
      eventually will be merged to run along side ICG on main and PR pipeline.
      ec4cdf6f
    • A
      Protection for transactional stat updates only if in transaction · f949c52f
      Ashwin Agrawal 提交于
      Transactional stats for heap_delete must be updated only if in transaction,
      which should always be the case. Except the issue was encountered now when we
      started calling heap_delete for PT tables to free tuples instead of older
      mechanism. During recovery based on object state if transaction was aborted the
      tuple in PT needs to be deleted and was failing in this function as
      TopTransactionContext is not allocated. Hence, added the protection that only if
      nesting level if greater than 0 which will be the case if we are in transaction
      collect stats else ignore the same. Which helps to fix the problem.
      f949c52f
    • J
      Fix filespace regression test failure caused by DST. · 668fa62c
      Jimmy Yih 提交于
      Removed timetz columns from certain tables in the filespace regression
      test.  They were not needed and caused a false failure due to United
      States timezone change from PDT to PST.
      
      Reported by Heikki Linnakangas.
      668fa62c
  2. 07 11月, 2016 5 次提交
  3. 05 11月, 2016 3 次提交
  4. 04 11月, 2016 6 次提交
  5. 03 11月, 2016 10 次提交
  6. 02 11月, 2016 9 次提交
  7. 01 11月, 2016 3 次提交
    • B
      Disable .psqlrc · 9cd7c2ef
      brendanstephens 提交于
      .psqlrc can create unexpected output and changes in formatting that don't play nice with parse_oids().
      
      ```
      psql database --pset footer -Atq -h localhost -p 5432 -U gpadmin -f /tmp/20161012232709/toolkit.sql
      
      {"relids": "573615536", "funcids": ""}
      Time: 2.973 ms
      ```
      
      Generates an Exception:
      ```
      Traceback (most recent call last):
        File "/usr/local/greenplum-db/./bin/minirepro", line 386, in <module>
          main()
        File "/usr/local/greenplum-db/./bin/minirepro", line 320, in main
          mr_query = parse_oids(cursor, json_str)
        File "/usr/local/greenplum-db/./bin/minirepro", line 151, in parse_oids
          result.relids = json.loads(json_oids)['relids']
        File "/usr/local/greenplum-db/ext/python/lib/python2.6/json/__init__.py", line 307, in loads
          return _default_decoder.decode(s)
        File "/usr/local/greenplum-db/ext/python/lib/python2.6/json/decoder.py", line 322, in decode
          raise ValueError(errmsg("Extra data", s, end, len(s)))
      ValueError: Extra data: line 2 column 1 - line 3 column 1 (char 39 - 54)
      ```
      9cd7c2ef
    • H
      Fix gcc warnings on misleading indentation. · cdfe1917
      Heikki Linnakangas 提交于
      In many places where we had used a mixture of spaces and tabs for
      indentation, new versions of gcc complained about misleading indentation,
      because gcc doesn't know we're using tab width of 4. To fix, make the
      indentation consistent in all the places where gcc gave a warning. Would
      be nice to fix it all around, but that's a lot of work, so let's do it
      in a piecemeal fashion whenever we run into issues or need to modify a
      piece of code anyway.
      
      For some files, especially the GPDB-specific ones, I ran pgindent over
      the whole file. I used the pgindent from PostgreSQL master, which is
      slightly different from what was used back 8.3 days, but that's what I had
      easily available, and that's what we're heading to in the future anyway.
      In some cases, I didn't commit the pgindented result if there were
      funnily formatted code or comments that would need special treatment.
      
      For other places, I fixed the indentation locally, just enough to make the
      warnings go away.
      
      I also did a tiny bit of other trivial cleanup, that I happened to spot
      while working on this, although I tried to refrain from anything more
      extensive.
      cdfe1917
    • A
      Update bugbuster expected files · 1026863d
      Adam Lee 提交于
      Update storage types of cidr and inet in AOCO_Compression2,
      schema_topology and schema_topology_optimizer expected files.
      
      Related commit: 3e23b68dSigned-off-by: NPengzhou Tang <ptang@pivotal.io>
      1026863d