- 19 3月, 2016 1 次提交
-
-
由 Ashwin Agrawal 提交于
This commit makes sure while accessing gp_relation_node through its index, sanity check is always performed to verify the tuple being operated on is the intended tuple, else for any reason index is broken and provide bad tuple fail the operation instead of causing damage. For some scenarios like delete gp_relation_code tuple case it adds extra tuple deform call which was not done earlier but doesn't seem heavy enough to be performed on ddl operation.
-
- 18 3月, 2016 4 次提交
-
-
由 Alexey Grishchenko 提交于
-
由 Alexey Grishchenko 提交于
-
由 Marbin Tan 提交于
Since we only test the higher level "wrappers" for gp_dump, pg_dump. We can remove those tests. gpmgmt1: gpsys1 is a depercrated functionality. python mpp8987.py tests unicode for loggers, special characters can deal with this now, so we can remove it. Conflicts: src/test/regress/bugbuster/expected/bkup_gp.out src/test/regress/bugbuster/expected/bkup_pg.out src/test/regress/bugbuster/expected/gpmgmt1.out src/test/regress/bugbuster/known_good_schedule src/test/regress/bugbuster/sql/gpmgmt1.sql Authors: Marbin Tan & Chris Hajas
-
由 Nikos Armenatzoglou 提交于
-
- 16 3月, 2016 5 次提交
-
-
由 Haozhou Wang 提交于
Backport from upstream with this commit: commit bc8036fc Author: Tom Lane <tgl@sss.pgh.pa.us> Date: Fri May 11 17:57:14 2007 +0000 Support arrays of composite types, including the rowtypes of regular tables and views (but not system catalogs, nor sequences or toast tables). Get rid of the hardwired convention that a type's array type is named exactly "_type", instead using a new column pg_type.typarray to provide the linkage. (It still will be named "_type", though, except in odd corner cases such as maximum-length type names.) Along the way, make tracking of owner and schema dependencies for types more uniform: a type directly created by the user has these dependencies, while a table rowtype or auto-generated array type does not have them, but depends on its parent object instead. David Fetter, Andrew Dunstan, Tom Lane
-
由 Foyzur Rahman 提交于
Signed-off-by: NGeorge Caragea <gcaragea@pivotal.io>
-
由 Jay Buckler 提交于
-
由 Jay Buckler 提交于
-
由 Omer Arap 提交于
-
- 15 3月, 2016 1 次提交
-
-
由 Marbin Tan 提交于
When doing a restore of a specific table or a specific schema (-T or -S) with a full backup, it will update all statistics for all AO/CO tables; it should update only the specified table/schema. Moved gp_update_ao_master_stats from the C side to the python code. gpdbrestore -T and -S will now update AO/CO stats through the python code Authors: Marbin Tan & Chris Hajas
-
- 14 3月, 2016 4 次提交
-
-
由 Heikki Linnakangas 提交于
This brings the code in convert_IN_to_join() back the way it is in the upstream, making merging easier.
-
由 Heikki Linnakangas 提交于
And some other cosmetic cleanup to match upstream better.
-
由 Heikki Linnakangas 提交于
This makes merging easier.
-
由 Heikki Linnakangas 提交于
catullus.pl is no longer used to generate pg_type.h, since commit 30c6ae3e. Update the instructions accordinly. The description of how pg_proc.h works was slightly out-of-date as well, updated that too.
-
- 12 3月, 2016 7 次提交
-
-
由 Abhijit Subramanya 提交于
When we use error log, if the master finds a badly formatted data row, it increments the rejected row count and then sends the row to the segment so that it can be stored in the error log file. On the segments, the row gets parsed again and the segment increments the reject count again. For reporting the total number of rejected rows to the user we sum up the rejected row count from the master and the segments. We need to ignore the count from the master because it will be included in the reject count from the segments. Also includes additional cleanup and typo fix of variable name by Heikki Linnakangas.
-
由 Venkatesh Raghavan 提交于
-
-
由 Venkatesh Raghavan 提交于
-
由 Venkatesh Raghavan 提交于
-
由 Jimmy Yih 提交于
Most of these test additions are inspired from Pivotal's internal testing and needed to be added to the open source installcheck to give the community more test coverage on AO/CO tables. This commit mostly adds extra coverage for indexes and partition tables.
-
由 Venkatesh Raghavan 提交于
-
- 11 3月, 2016 4 次提交
-
-
由 Kuien Liu 提交于
based on patch by Daniel Gustafsson
-
由 HaiSheng Yuan 提交于
-
由 HaiSheng Yuan 提交于
-
由 Haisheng Yuan 提交于
-
- 10 3月, 2016 8 次提交
-
-
由 Heikki Linnakangas 提交于
We only have a few extra types in GPDB, so it doesn't seem worth maintaining the catullus mechanism for updating pg_type.h. When a new column is added in the upstream, we'll just fix the GPDB-added lines manually. There are no GPDB-added columns in pg_type.h, so we don't need the GPDB_COLUMN_DEFAULT tricks we used in pg_proc.h. Catullus.pl still needs type information to map the type names in pg_proc_gp.sql to type OIDs. It used to get that information from the pg_type.sql file, but I changed it to read the DATA lines in pg_type.h directly. Also revert unnecessary whitespace and comment changes against upstream, to make merge easier.
-
由 Heikki Linnakangas 提交于
remove_unused_initplans() didn't notice if there were references to a subplan in the PRECEDING or FOLLOWING clause of a window function, because plan/expression walkers didn't visit the PRECEDING/FOLLOWING clauses. Fix the walkers. We already had a test case for this in the regression suite, in gp_optimizer, but instead of fixing the bug we had memorized the internal ERROR message in the expected output. Oopsie.
-
由 Heikki Linnakangas 提交于
The code to remove unnecessary InitPlans assumed that an InitPlan can only return a single Param, which is wrong. Fix the code to handle multiple Params. Bug report and test case by CK Tan.
-
由 Daniel Gustafsson 提交于
ExecCopySlotHeapTupleTo() is not used anywhere (anymore) so remove.
-
由 Daniel Gustafsson 提交于
-
由 Daniel Gustafsson 提交于
Moves the Python and Perl version tests in under ignore blocks to make the test less fragile. Testing for specific versions is not ideal, if this is to be kept as a real test it should be rewritten to look for interpreters satisfying minimum version requirements rather then exact (although the value of that can be argued as well). Keep the version output in the test though since it can be good information when debugging where access is limited to the regression.diffs file. Also fix a trivial typo in a comment while in there.
-
由 Daniel Gustafsson 提交于
This adds a new switch to autoconf, --enable-mapreduce, to connect the GPMapreduce extension to the build. If set to on the mapreduce extension in gpAux/extensions will be built and installed. As a side effect this will properly clean and distclean for gpfdist in gpAux/extensions as well. Autoconf checks for libyaml since it's a depedency for GPMapreduce. This is the first stab at gpmapreduce, once in we can start moving gpmapreduce back into src/bin and move the mapreduce test suite in under gpAux/extensions.
-
由 Kuien Liu 提交于
Commits backported from upstream are listed below. commit 87f2ad13 Author: Tom Lane <tgl@sss.pgh.pa.us> Date: Sun Mar 27 12:51:04 2011 -0400 Fix plpgsql to release SPI plans when a function or DO block is freed. This fixes the gripe I made a few months ago about DO blocks getting slower with repeated use. At least, it fixes it for the case where the DO block isn't aborted by an error. We could try running plpgsql_free_function_memory() even during error exit, but that seems a bit scary since it makes a lot of presumptions about the data structures being in good shape. It's probably reasonable to assume that repeated failures of DO blocks isn't a performance-critical case. commit 42b2907d Author: Tom Lane <tgl@sss.pgh.pa.us> Date: Sun Nov 29 03:02:27 2009 +0000 Add support for anonymous code blocks (DO blocks) to PL/Perl. Joshua Tolley, reviewed by Brendan Jurd and Tim Bunce commit 9048b731 Author: Tom Lane <tgl@sss.pgh.pa.us> Date: Tue Sep 22 23:43:43 2009 +0000 Implement the DO statement to support execution of PL code without having to create a function for it. Procedural languages now have an additional entry point, namely a function to execute an inline code block. This seemed a better design than trying to hide the transient-ness of the code from the PL. As of this patch, only plpgsql has an inline handler, but probably people will soon write handlers for the other standard PLs. In passing, remove the long-dead LANCOMPILER option of CREATE LANGUAGE. Petr Jelinek
-
- 09 3月, 2016 6 次提交
-
-
由 Heikki Linnakangas 提交于
It doesn't seem to be needed anymore. Window and Motion nodes have a suitable targetlist nowadays, so no need to reach out to their child node for one.
-
由 Heikki Linnakangas 提交于
I'm not sure what the original problem was, because PostgreSQL is happy without the rtoffset arg, and everything seems to work when I revert it. I dug the original reproduction script referenced from when that change was originally made and tested that with this revert, and it also worked fine. Keeping the code as close to upstream as possible makes merging easier.
-
由 Heikki Linnakangas 提交于
Makes merging a bit easier.
-
由 Heikki Linnakangas 提交于
-
由 Heikki Linnakangas 提交于
ReadBuffer_Resync() and BufferAlloc_Resync() were not materially different from plain ReadBuffer() and BufferAlloc(), so just use the latter directly. In the passing, also: * rename BufferAlloc_Internal to BufferAlloc_common, like it's called in newer upstream versions. * revert some spurious whitespace and comment differences vs. upstream.
-
由 Heikki Linnakangas 提交于
-