1. 22 2月, 2016 6 次提交
    • 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
  2. 21 2月, 2016 1 次提交
  3. 20 2月, 2016 4 次提交
  4. 19 2月, 2016 15 次提交
  5. 18 2月, 2016 12 次提交
    • A
      Make relation size estimate use default in case ANALYZE statistics are not... · 063830e8
      Atri Sharma 提交于
      Make relation size estimate use default in case ANALYZE statistics are not available instead of asking QEs. This saves cost of the ask from QEs and makes planning a bit faster. Since we do not expect good plans in absence of statistics, we might as well use default estimates relation size as well
      063830e8
    • A
      Automated vagrant GPDB installation with all setup and dependencies · 45887dd3
      Alexey Grishchenko 提交于
      Improving CentOS Vagrant scripts to improve OS configuration and isntallation
      
      Cleanup CentOS 6 reference
      
      Adding changes to Vagrant guide on CentOS
      
      Minor fixes for ulimit file and sudo for gpadmin
      
      Removing "gpadmin" user creation as it causes problems with source code access rights
      
      Making IP address configurable through the Vagrantfile
      
      Fixing issue with "yum update" breaking VBox tools
      45887dd3
    • X
      Fix bfv_legacy test issue · f0025b2d
      Xin Zhang 提交于
      f0025b2d
    • X
      Separate bfv_legacy in its own database · 69beb990
      Xin Zhang 提交于
      Hence, it won't interfere with parallel executed tests.
      The database creation overhead is less than 1 sec on a warm instance.
      
      [#111625692]
      Signed-off-by: NJacob Frank <jfrank@pivotal.io>
      69beb990
    • H
      Fix ICG bfv_subquery test error · 62d760aa
      Haisheng Yuan 提交于
      62d760aa
    • H
      Move BFV planner tests to ICG · c8ee2aca
      Haisheng Yuan 提交于
      c8ee2aca
    • A
      Avoid loading of block directory entries for columns that are not projected. · ca094f38
      Asim Praveen 提交于
      This change applies only to column oriented tables (CO).  It reads
      block directory entries for only those columns that appear in project
      list (e.g. select clause).
      
      Closes #369
      ca094f38
    • X
      Porting legacy tests into ICG. · 1400d4c9
      Xin Zhang 提交于
      1400d4c9
    • V
      Porting subquery tests into ICG · e35ebfff
      Venkatesh Raghavan 提交于
      e35ebfff
    • J
      Refactored NetBackup-related backup and restore Behave tests · 9e172add
      Jamie McAtamney 提交于
      This commit represents an overhaul of the test suite relating to Veritas NetBackup
      integration with the backup and restore utilities. It has the same goals and makes
      similar changes to this suite that were made to the base backup and restore suite
      in commit e8889fc5, and also focuses on removing
      any scenarios that test functionality that isn't directly related to NetBackup and
      is therefore sufficiently tested in the other suite, to improve the usability of
      the suite and dramatically decrease total runtime (down from ~15 hours to ~5 hours
      on Pivotal test machines).
      9e172add
    • D
      add osx to travis-ci tests · 15e6e8b9
      Dave Cramer 提交于
      15e6e8b9
    • J
      Refactored backup and restore Behave tests · e8889fc5
      Jamie McAtamney 提交于
      This commit represents a major overhaul of the backup and restore test suite,
      with the following main goals:
      1) Cut down the time required to run the tests (previous runtime was ~3.5 hours
      on Pivotal test machines, now it's down to around 1 hour 15 minutes).
      2) Make each test scenario independent, so that the database state at the start
      of a scenario does not depend on which scenarios were run before it and failures
      in one scenario will not cause later scenarios to fail as a result.
      3) Group commonly used steps, remove redundant scenarios and unnecessary steps
      within scenarios, standardize common database and table names, and perform
      similar cleanup, both to cut down on runtime and to improve readability and
      comprehensibility of the suite.
      e8889fc5
  6. 17 2月, 2016 2 次提交
    • D
      Merge upto '37a22932' from PostgreSQL 8.3 · 2aac295c
      Daniel Gustafsson 提交于
      This set of patches brings in RI operator selection fixes for generic types;
      OR case handling in find_nonnullable_rels and some fixes to the recent
      to_char() patch and some missing catalog entries for XML functions.
      
       Conflicts:
      	doc/TODO
      	doc/src/FAQ/TODO.html
      	doc/src/sgml/config.sgml
      	doc/src/sgml/docguide.sgml
      	doc/src/sgml/ecpg.sgml
      	doc/src/sgml/func.sgml
      	doc/src/sgml/geqo.sgml
      	doc/src/sgml/gin.sgml
      	doc/src/sgml/installation.sgml
      	doc/src/sgml/libpq.sgml
      	doc/src/sgml/mvcc.sgml
      	doc/src/sgml/plperl.sgml
      	doc/src/sgml/runtime.sgml
      	doc/src/sgml/sql.sgml
      	src/backend/commands/tablecmds.c
      	src/backend/executor/nodeResult.c
      	src/backend/libpq/be-secure.c
      	src/backend/optimizer/plan/initsplan.c
      	src/backend/optimizer/plan/setrefs.c
      	src/backend/postmaster/postmaster.c
      	src/backend/utils/adt/formatting.c
      	src/backend/utils/adt/numeric.c
      	src/backend/utils/adt/xml.c
      	src/backend/utils/misc/guc.c
      	src/backend/utils/misc/postgresql.conf.sample
      	src/backend/utils/misc/ps_status.c
      	src/include/catalog/catversion.h
      	src/include/catalog/pg_aggregate.h
      	src/include/catalog/pg_proc.h
      	src/include/postmaster/postmaster.h
      	src/include/utils/builtins.h
      	src/include/utils/xml.h
      	src/interfaces/libpq/fe-secure.c
      	src/test/regress/expected/create_aggregate.out
      	src/test/regress/expected/timestamptz.out
      	src/test/regress/sql/create_aggregate.sql
      2aac295c
    • V