1. 05 4月, 2016 5 次提交
  2. 18 3月, 2016 1 次提交
  3. 05 4月, 2016 1 次提交
    • N
      Removing code related to workfile caching · 00ce2c14
      Nikos Armenatzoglou 提交于
      Workfile caching has already been removed from master. This commit cleans up workfile manager and removes two functions (workfile_mgr_evict and acquire_entry_retry) related to workfile caching that we do not need them anymore.
      00ce2c14
  4. 02 4月, 2016 6 次提交
    • H
      Temporally fix to 'casts to/from string types for every datatype' · ead24acd
      Haozhou Wang 提交于
      Looks it falls back to legacy optimizer when running regression,
      hence we temporally comment out three tests and create a story
      on pivotaltracker #116312671 to solve it later.
      -- comment out two tests in domain.sql
      -- comment out one test in qp_misc_jiras.sql
      
        Thanks to Venkatesh Raghavan for helping
      ead24acd
    • H
      Support casts to/from string types for every datatype · d481bd72
      Haozhou Wang 提交于
      Backport below commits from upstream:
      
          commit 31edbadf
          Author: Tom Lane <tgl@sss.pgh.pa.us>
          Date:   Tue Jun 5 21:31:09 2007 +0000
      
              Downgrade implicit casts to text to be assignment-only, except for the ones
              from the other string-category types; this eliminates a lot of surprising
              interpretations that the parser could formerly make when there was no directly
              applicable operator.
      
              Create a general mechanism that supports casts to and from the standard string
              types (text,varchar,bpchar) for *every* datatype, by invoking the datatype's
              I/O functions.  These new casts are assignment-only in the to-string direction,
              explicit-only in the other, and therefore should create no surprising behavior.
              Remove a bunch of thereby-obsoleted datatype-specific casting functions.
      
              The "general mechanism" is a new expression node type CoerceViaIO that can
              actually convert between *any* two datatypes if their external text
              representations are compatible.  This is more general than needed for the
              immediate feature, but might be useful in plpgsql or other places in future.
      
              This commit does nothing about the issue that applying the concatenation
              operator || to non-text types will now fail, often with strange error messages
              due to misinterpreting the operator as array concatenation.  Since it often
              (not always) worked before, we should either make it succeed or at least give
              a more user-friendly error; but details are still under debate.
      
              Peter Eisentraut and Tom Lane
      
          commit bf940763
          Author: Tom Lane <tgl@sss.pgh.pa.us>
          Date:   Tue Mar 27 23:21:12 2007 +0000
      
              Fix array coercion expressions to ensure that the correct volatility is
              seen by code inspecting the expression.  The best way to do this seems
              to be to drop the original representation as a function invocation, and
              instead make a special expression node type that represents applying
              the element-type coercion function to each array element.  In this way
              the element function is exposed and will be checked for volatility.
              Per report from Guillaume Smet.
      d481bd72
    • F
      Adding test changes in alter_table_optimizer.out for fixing tuple descriptor... · cc599b5b
      Foyzur Rahman 提交于
      Adding test changes in alter_table_optimizer.out for fixing tuple descriptor leak in split_rows during an ALTER TABLE SPLIT PARTITION.
      cc599b5b
    • F
    • N
      add a comment explaining search_path's role in the bug · 1ac9e8fa
      Nikhil Kak 提交于
      1ac9e8fa
    • N
  5. 01 4月, 2016 3 次提交
    • D
      Remove leftover prototype for updateAppendOnlyStats() · 55ec56f7
      Daniel Gustafsson 提交于
      The function updateAppendOnlyStats() was removed in 3fb6ca82 but the
      prototype remained.
      55ec56f7
    • X
      Migrate olap_group tests to ICG [#116156843] · f84308c3
      Xin Zhang 提交于
      Signed-off-by: NXin Zhang <xzhang@pivotal.io>
      f84308c3
    • J
      Fix gp_default_storage_options GUC master/segment value conflict. · b11fc6d5
      Jimmy Yih 提交于
      The gp_default_storage_options GUC had two scenarios in which the value between
      master and segments could be conflicting which would cause tables to possibly
      have different storage parameters between master and segments.
      
      First Scenario:
      The below gpconfig example would give newly created user tables a default storage
      parameter of AO on segments while master sets the table as heap. Fixed by not
      allowing the user to make them different values.
      gpconfig -c gp_default_storage_options -v "'appendonly=true'" -m "'appendonly=false'"
      
      Second Scenario:
      During a psql session not in transaction, a session-level gp_default_storage_options
      GUC value can be set which will also be dispatched to segment processes. Those
      segment processes when idle for a period of time will be stopped and the next SQL
      (e.g. CREATE TABLE) will spawn new segment processes which will not have the
      session-level GUC value set. Fixed by setting the value at cdbgang creation.
      b11fc6d5
  6. 31 3月, 2016 7 次提交
  7. 30 3月, 2016 1 次提交
  8. 29 3月, 2016 2 次提交
  9. 28 3月, 2016 4 次提交
    • K
      Fix TupleDesc leak when COPY partition table from file, and improve · 5d9f7b46
      Kenan Yao 提交于
      the cleanup of EState
      5d9f7b46
    • E
      Fix DML_over_joins non-deterministic expected error condition. · 04c194d8
      Ed Espino 提交于
      Below is the error condition that was being filtered by the cdbfast test
      framework.  I have added an ignore section around the update that is
      expected to fail in the planner scenario.
      
      *** ./expected/DML_over_joins.out2016-03-27 16:44:49.000000000 -0700
      --- ./results/DML_over_joins.out2016-03-27 16:44:49.000000000 -0700
      ***************
      *** 1342,1348 ****
      (2 rows)
      
      update sales_par set region = 'new_region' where id in (select s.b from s, r where s.a = r.b) and day in (select a from r);
      ! ERROR:  moving tuple from partition "sales_par_1_prt_usa" to partition "sales_par_1_prt_other_regions" not supported
      select sales_par.* from sales_par where id in (select s.b from s, r where s.a = r.b) and day in (select a from r);
      id | year | month | day | region
      ----+------+-------+-----+--------
      --- 1342,1348 ----
      (2 rows)
      
      update sales_par set region = 'new_region' where id in (select s.b from s, r where s.a = r.b) and day in (select a from r);
      ! ERROR:  moving tuple from partition "sales_par_1_prt_europe" to partition "sales_par_1_prt_other_regions" not supported
      select sales_par.* from sales_par where id in (select s.b from s, r where s.a = r.b) and day in (select a from r);
      id | year | month | day | region
      ----+------+-------+-----+--------
      
      ======================================================================
      04c194d8
    • E
      Resolve #572: Migrate list_queries sirv_functions to ICG. · 28601ac4
      Ed Espino 提交于
      This enhances the existing "sirv_functions" ICG tests.  This is
      accomplished by migrating the cdbfast regression "list_queries" test
      schedule's "sirv_functions" test suite to ICG.
      
      Here are some characteristics of the test suite:
      
        Schedule file: greenplum_schedule
        Schema: sirv_functions
        Set to run in parallel: yes
        Orca specific test output: no
        Test execution time: <1 minute
        Pivotal Tracker Story: #113967799
      28601ac4
    • E
      Resolve #571: Migrate list_queries DML_over_joins to ICG. · 8b4c3de2
      Ed Espino 提交于
      Migrate the cdbfast "list_queries" test schedule "DML_over_joins" to
      ICG.
      
      Here are some characteristics of the test suite:
      
        Schedule file: greenplum_schedule
        Schema: DML_over_joins
        Set to run in parallel: yes
        Orca specific test output: yes
        Test execution time: <1 minute
        Pivotal Tracker Story: #113967799
      8b4c3de2
  10. 26 3月, 2016 2 次提交
  11. 25 3月, 2016 5 次提交
    • H
      Fix the PR #518: arrays of composite types · 25cd73c6
      Haozhou Wang 提交于
      - unify source-code of #518 commit according to upstream
      - add regression tests (previously stored in TINC)
      - fix parameter type of the function AddNewRelationType()
      
          Thanks to Heikki Linnakangas for suggesting
      25cd73c6
    • S
      Adding GPDB code generation utils · 88e9baba
      Shreedhar Hardikar 提交于
      Squashed commit of the following:
      
      commit db752c0c916f36479b0c5049c671538565294c25
      Author: Nikos Armenatzoglou <narmenatzoglou@gmail.com>
      Date:   Thu Mar 24 14:01:38 2016 -0700
      
          Adding check to avoid unit test failures when sizeof(long) = 8
      
      commit 1c39c58279cf73af92811ed1b2e6f2bc22d01414
      Author: Shreedhar Hardikar <shardikar@pivotal.io>
      Date:   Thu Mar 17 19:42:47 2016 +0000
      
          --with-codegen-prefix instead of CMAKE_PREFIX_PATH
      
      commit 77978e92444580bc4e84dc3f6b3e366a09e92dba
      Author: Shreedhar Hardikar <shardikar@pivotal.io>
      Date:   Thu Mar 10 14:57:48 2016 +0000
      
          Make codegen work with GPDB build system and other minor fixes
      
            * Update CMakeLists to build SUBSYS.o
            * Update CMakeLists to build release build by default
            * Update CMakeLists to add tests in a loop.
            * Add codegen and cmake specific .gitignore
            * Update license and READMEs
            * Move codegen utils related header files back into src/backend/codegen/include/codegen
      Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com>
      
      commit 1b61c12f4eb082f49a66c28957c22810e98a5074
      Author: Shreedhar Hardikar <shardikar@pivotal.io>
      Date:   Wed Mar 16 21:06:28 2016 +0000
      
          Remove codegen specific gtest source tree and use the one in gpAux.
      Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com>
      
      commit 13bb2dcf3465be0ef240e316a149b2d8a125a9e9
      Author: Shreedhar Hardikar <shardikar@pivotal.io>
      Date:   Thu Mar 10 02:51:29 2016 +0000
      
          Set up GPDB to use codegen utilities
      
            * Move in codegen utility source and include files to GPDB specific locations.
            * Configure codegen with --enable-codegen and use gpcodegen namespace
      Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com>
      
      commit 9a4e40f931f71cb7a82e15b51745944116bc10ab
      Author: Craig Chasseur <spoonboy42@gmail.com>
      Date:   Mon Nov 2 09:10:37 2015 -0800
      
          Introduce codegen utilties into GPDB.
      
          Support library for integrating LLVM code-generation and runtime
          compilation with Clang in a larger codebase.
      Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com>
      88e9baba
    • A
      Default estimates for missing stats [#115534065] · e0409357
      Atri Sharma 提交于
      Change behaviour to use default estimates for relation size
      for cases when no statistics are available.
      
      This avoid having heavy statstistics computation as part
      of query compilation.
      
      Customer can explicitly using ANALYZE to compute the stats
      before running queries to use more accurate stats instead
      of default statistics.
      
      Currently, the default size of table is:
      - Internal table: 100 pages
      - External table: 1000 pages
      Signed-off-by: NXin Zhang <xzhang@pivotal.io>
      e0409357
    • A
      Make relation open error message user friendly · c9f97455
      Ashwin Agrawal 提交于
      Currently, when relation open fails it emits error message which is very
      dev centric plus stack trace gets printed. The message and behavior is
      confusing as more hints towards some catastrophic problem. While its
      more legitimate due to concurrency so best to communicate the same, plus
      avoid printing stacktrace.
      c9f97455
    • J
      Add more filespace/tablespace tests to installcheck. · 23ab1bd5
      Jimmy Yih 提交于
      This commit adds more filespace and tablespace test coverage in installcheck.
      Most of these test additions are modified and inspired from Pivotal's own
      internal tests.
      23ab1bd5
  12. 24 3月, 2016 3 次提交