1. 04 11月, 2016 4 次提交
  2. 03 11月, 2016 10 次提交
  3. 02 11月, 2016 9 次提交
  4. 01 11月, 2016 8 次提交
    • 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
    • H
      Remove "-funroll-loops finline-limit=1800" from standard CFLAGS. · 19c96e6f
      Heikki Linnakangas 提交于
      Aggressive inlining can improve performance in hot spots, but when applied
      indiscriminately, it makes binaries larger for little gain. For lack of
      better evidence, let's trust the compiler defaults. This makes the build
      faster, and the binaries smaller. If we find out that these options are
      beneficial for some specific functions or source files, let's add them
      back to those special cases.
      
      In a quick test on my laptop, this makes the build about 2x faster, and
      shrinks the binaries from about 14MB to 9MB (after running "strip").
      19c96e6f
    • A
      0bd8678d
    • K
      Bump ORCA to 1.681. · 7c4d8f70
      Karthikeyan Jambu Rajaraman 提交于
      7c4d8f70
    • K
      Fix ICG failure · d41ebde1
      Karthikeyan Jambu Rajaraman 提交于
      d41ebde1
    • K
      Fix ORCA error message and make it same as with Planner.(Closes #1247) · 4eb5db7a
      Karthikeyan Jambu Rajaramn 提交于
      - In ORCA, due to the way exception handled previously we do warning first
      and then later print error referring that message. In this commit, we
      enhanced the exception handling so we just print a single error message.
      - Also, we removed 'PQO unable to generate a plan' or 'Aborting PQO plan
      generation' message and make the error message as close as the planner.
      - Updated error message with filename and line number from where the exception
      is raised.
      4eb5db7a
  5. 31 10月, 2016 3 次提交
  6. 30 10月, 2016 3 次提交
  7. 29 10月, 2016 3 次提交
    • F
      Fixing assertion failures in indexed based memory accounting (#1260) · e0374cab
      foyzur 提交于
      * Removing invalid assertion that checks to ensure we don't do further allocations under dead accounts. The whole idea of a index based accounting is to not care about dead accounts and transparently handle those via RolloverAccount without hitting a SEGV.
      
      * Including MEMORY_OWNER_TYPE_EXECUTOR_END as a valid owner type as this enum value overlaps with the last valid executor account type.
      e0374cab
    • A
      Set timezone to PST and updated .sql/.ans files · b8f73ef2
      Ashwin Agrawal and Amil Khanzada 提交于
      These .sql files assumed that the timezone for machines running the
      TINC tests would have the timezone as PST/PDT. This commit explicitly
      sets the timezone to PST in the .sql files and updates the .ans files
      to handle this new behavior.
      
      This was done so that the below TINC tests could run on Concourse
      containers which use UTC time zone:
      -cs-storage
      -cs-uao
      b8f73ef2
    • N
      Abort code generation of expression evaluation trees with unsupported ExprState types · e1fd6072
      Nikos Armenatzoglou 提交于
      Current codegen expression evaluation framework generates code based only on
      ExprState->Expr->type (e.g., T_Var), without checking the ExprState->type.
      In other words, it treats all nodes of the tree that have the same type
      (e.g., T_Var) in the same way (i.e., generates the same code).
      
      However, in GPDB the evaluation function (evalfunc) of a node depends
      on ExprState->Expr->type and ExprState->type. For example, if
      ExprState->Expr->type = T_Var and ExprState->type = T_ExprState, then
      the evalfunc  = ExecEvalScalarVar. On the other hand, if
      ExprState->Expr->type = T_Var and ExprState->type =
      T_WholeRowVarExprState, then evalfunc = ExecEvalWholeRowVar.
      
      We fix this issue by avoiding code generation for an expression tree
      that contains nodes of unsupported ExprState->type.
      Signed-off-by: NKaren Huddleston <khuddleston@pivotal.io>
      e1fd6072