1. 09 3月, 2016 1 次提交
  2. 08 3月, 2016 3 次提交
  3. 05 3月, 2016 1 次提交
    • H
      Handle constants correctly in cdbpullup_findPathKeyExprInTargetList · 81b5a62b
      Heikki Linnakangas 提交于
      If a PathKey contains a constant member, it can be evaluated without
      any entries in the target list, and can always be returned in
      cdbpullup_findPathKeyExprInTargetList. This fixes the "Unexpected intarnal
      error" you got with the included test query.
      
      Closes issue #348, reported by liruto. Thanks for the report!
      81b5a62b
  4. 04 3月, 2016 1 次提交
    • H
      Remove inaccurate assertion. · 04fe0202
      Heikki Linnakangas 提交于
      When DELETEing or UPDATEing an inherited table, some tables in the
      inheritance tree might need an explicit Motion node to bring the targeted
      tuples back to the segment where they reside, and some might not. The code
      to build the plan handled that correctly, but this assertion incorrecly
      assumed that it's all or nothing.
      
      Remove the assertion, as it doesn't seem very useful in the first place.
      The code that inserted the Motion nodes is just above the assertion, and
      the assertion was basically just testing the same thing that the code
      just did, and not some general invariant that should always hold.
      
      Fixes issue #332
      04fe0202
  5. 03 3月, 2016 2 次提交
  6. 02 3月, 2016 1 次提交
  7. 01 3月, 2016 1 次提交
  8. 29 2月, 2016 1 次提交
    • P
      Fix disorder issue when selecting from views with order-by clauses · 0be2e5b0
      Pengzhou Tang 提交于
      When applying motion, a merge other than normal gather motion should
      be added on the top node if it has sort list, this can make sure that
      tuples are still in order after gathered to QD. Only checking if top
      level parsetree has sort clauses may miss the implicit order constraint
      in a view
      0be2e5b0
  9. 26 2月, 2016 2 次提交
  10. 25 2月, 2016 1 次提交
  11. 24 2月, 2016 3 次提交
  12. 23 2月, 2016 2 次提交
  13. 22 2月, 2016 8 次提交
    • H
      Remove unnecessary tests. · 76e40ccd
      Heikki Linnakangas 提交于
      There is nothing special about these tables, views, or functions. We have
      tons of objects like this all over the place. Let's just drop these.
      76e40ccd
    • H
      Remove unnecessary test databases from schema_topology test. · 74643bac
      Heikki Linnakangas 提交于
      The countrylist1 table was not used for anything either.
      
      Makes it run a bit faster, I hope.
      
      Now that some of the objects are created in 'regression' database, rather
      than a newly created database, rename some objects to avoid clashing with
      other bugbuster tests that use the same object names.
      74643bac
    • H
      Make it more clear that test case contains an invalid COPY EOF-marker "\. " · ef2d2a8c
      Heikki Linnakangas 提交于
      I wondered for a long time, why there are two copies of some DDL statements
      in the .sql file, but only one copy in the .out file, and the test still
      passes. Turns out that some of the DDL commands in the test file were inside
      COPY data block. Instead of using valid-looking DDL as test data, put a
      more explicit notice there. Perhaps putting a long block of valid queries
      after a bogus "\.   " marker is a useful thing to test, but the point of the
      test really should be explained explicitly.
      ef2d2a8c
    • H
      Remove some unnecessary cruft from schema_topology test. · 3ab64f1c
      Heikki Linnakangas 提交于
      heap_table_drop_col3 database is never created, so there's no point trying
      to drop it. And no point in dropping objects in the db_test_bed database
      in the beginning of the test: they won't exist, because we just created the
      database.
      3ab64f1c
    • H
      Remove useless CREATE DATABASE tests · 853321ed
      Heikki Linnakangas 提交于
      Surely we have enough test coverage for creating a database with a regular,
      lower-case name, or one with a number in it. We do both of those things
      as part of initdb, for example.
      853321ed
    • H
      Make schema_toplogy test work with non-C LC_MONETARY setting. · 93bdce24
      Heikki Linnakangas 提交于
      Makes it nicer to run the test manually with pg_regress.
      93bdce24
    • H
      Remove some outdated cruft from expected output's ignore-block. · 6349be24
      Heikki Linnakangas 提交于
      We don't do DROP LANGUAGE in the test (anymore. The bogus output is
      ignored, but let's be tidy.
      6349be24
    • H
      If a relation contains self-contradictory quals, don't plan it. · 75295f21
      Heikki Linnakangas 提交于
      With PostgreSQL, if you do "SELECT * FROM foo WHERE id = 1 and id = 2",
      you get a Scan node on foo, with a gating Result node with False one-time
      filter. That's what you also got on GPDB before this patch. Before merging
      the equivalence classes patch, however, you got a Result node with
      False one-time filter, with no subplan. This patch changes the behaviour
      back to that.
      
      Avoiding the planning saves some time during planning, as we don't need
      to decide how to scan the relation. But more importantly, a stand-alone
      Result node with no subplan can be executed on any segment, so the planner
      can avoid unnecessary Motion nodes in some cases.
      75295f21
  14. 21 2月, 2016 1 次提交
  15. 19 2月, 2016 11 次提交
  16. 18 2月, 2016 1 次提交