1. 25 2月, 2016 1 次提交
  2. 24 2月, 2016 10 次提交
  3. 23 2月, 2016 4 次提交
    • D
      Merge upto '71b0cf2f' from PostgreSQL 8.3 · 33a1278c
      Daniel Gustafsson 提交于
      The main change in this set of patches is that function expressions and
      value lists are placed the FunctionScan and ValuesScan planner nodes. This
      avoids having to look them up in the range tables during execution. Since
      the executor now relies on this behavior the gpopt Orca libraries had to
      be updated as part of this.
      
       Conflicts:
      	doc/FAQ_DEV
      	doc/TODO
      	doc/src/FAQ/FAQ_DEV.html
      	doc/src/FAQ/TODO.html
      	doc/src/sgml/array.sgml
      	doc/src/sgml/func.sgml
      	doc/src/sgml/installation.sgml
      	doc/src/sgml/libpq.sgml
      	doc/src/sgml/mvcc.sgml
      	doc/src/sgml/ref/pg_config-ref.sgml
      	doc/src/sgml/spi.sgml
      	doc/src/sgml/syntax.sgml
      	src/backend/executor/execAmi.c
      	src/backend/nodes/outfuncs.c
      	src/backend/optimizer/path/allpaths.c
      	src/backend/optimizer/path/clausesel.c
      	src/backend/optimizer/plan/planner.c
      	src/backend/optimizer/plan/setrefs.c
      	src/backend/optimizer/plan/subselect.c
      	src/backend/optimizer/prep/prepunion.c
      	src/backend/optimizer/util/clauses.c
      	src/backend/tcop/pquery.c
      	src/backend/utils/adt/datetime.c
      	src/backend/utils/adt/formatting.c
      	src/bin/pg_dump/pg_backup_custom.c
      	src/bin/pg_dump/pg_backup_tar.c
      	src/bin/psql/describe.c
      	src/include/catalog/catversion.h
      	src/include/nodes/nodes.h
      	src/include/nodes/primnodes.h
      	src/include/nodes/relation.h
      	src/include/optimizer/clauses.h
      	src/include/optimizer/planner.h
      	src/include/optimizer/subselect.h
      	src/include/utils/datetime.h
      	src/interfaces/ecpg/pgtypeslib/dt.h
      	src/interfaces/ecpg/pgtypeslib/dt_common.c
      	src/interfaces/libpq/fe-connect.c
      	src/pl/plpgsql/src/gram.y
      	src/tools/msvc/Solution.pm
      	src/tools/msvc/genbki.pl
      33a1278c
    • F
      b9767b0f
    • O
      8443c62e
    • C
      Fix backup.feature tests. · 3b2f9a0a
      Christopher Hajas 提交于
      Authors: Jimmy Yih and Chris Hajas
      3b2f9a0a
  4. 22 2月, 2016 13 次提交
    • H
      Remove checkstyle support. · bcf0caab
      Heikki Linnakangas 提交于
      I tried running this, and got a ton of errors. I don't think anyone's
      used this for ages, so let's stop pretending that you might want to run
      it. It might be a useful tool, as might some other style-checker or static
      analysis tool, but this doesn't seem useful in its current state.
      bcf0caab
    • 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
    • P
    • K
      Make query interruptible by SIGTERM if hanging on send/recv call · 63dd5a6c
      Kenan Yao 提交于
      to/from client(second submission)
      
      This is intended for scenarios where QD hangs sending data to client(
      e.g, client is buggy not receiving data), or hangs waiting for data
      from client(e.g, COPY foo FROM stdin);
      
      There is a send mutex to prevent from sending a message to client when
      another message is in the middle of sending, however, this send mutex
      can lead to self deadlock in some cases, including this hanging send()
      case; this commit also resolve this kind of self deadlock, at the cost of
      discarding some message, which is acceptable when the process is dying.
      63dd5a6c
    • P
      Fix haltWork() can not stop a thread in time which slow down gpinitsystem · 512045ef
      Pengzhou Tang 提交于
      Worker is the basic thread class used by gpdb utilities, if there are no commands in queue for Worker to consume, thread will be blocking for 5 seconds even though haltWork() is called. This fix send dummy command into queue so thread can detect shouldStop flag immediately.
      512045ef
    • K
      Overhaul the lock related code of resource queue(Second submit, assertion · 42cab821
      Kenan Yao 提交于
      failure fixed)
      
      In some error cases, the resource queue lock is not released, hence
      leading to lock leak and inconsistent resource queue status; this commit
      overhauls the resource queue locking code to complete the cleanups if error
      or signal happens during acquiring resource queue lock; meanwhile, some
      unnecessary code blocks are removed and unreasonable code are fixed to make
      it easier for reading and understanding;
      42cab821
    • 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
  5. 21 2月, 2016 1 次提交
  6. 20 2月, 2016 4 次提交
  7. 19 2月, 2016 7 次提交