forked from greenplum-db/gpdb-archive
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #290 from arenadata/5.29.2-sync
ADBDEV-2361 5.29.2 sync
- Loading branch information
Showing
26 changed files
with
640 additions
and
51 deletions.
There are no files selected for viewing
Submodule gporca
updated
5 files
+1 −1 | CMakeLists.txt | |
+341 −272 | data/dxl/minidump/ExceptAllCompatibleDataType.mdp | |
+545 −0 | data/dxl/minidump/ExceptCast.mdp | |
+1 −10 | libgpopt/src/translate/CTranslatorDXLToExpr.cpp | |
+1 −1 | server/CMakeLists.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -582,8 +582,8 @@ MAKEFLAGS= | |
# Identity of this package. | ||
PACKAGE_NAME='Greenplum Database' | ||
PACKAGE_TARNAME='greenplum-database' | ||
PACKAGE_VERSION='5.29.1' | ||
PACKAGE_STRING='Greenplum Database 5.29.1' | ||
PACKAGE_VERSION='5.29.2' | ||
PACKAGE_STRING='Greenplum Database 5.29.2' | ||
PACKAGE_BUGREPORT='[email protected]' | ||
PACKAGE_URL='' | ||
|
||
|
@@ -12570,7 +12570,7 @@ int | |
main () | ||
{ | ||
|
||
return strncmp("3.120.", GPORCA_VERSION_STRING, 6); | ||
return strncmp("3.121.", GPORCA_VERSION_STRING, 6); | ||
|
||
; | ||
return 0; | ||
|
@@ -12580,7 +12580,7 @@ if ac_fn_cxx_try_run "$LINENO"; then : | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | ||
$as_echo "ok" >&6; } | ||
else | ||
as_fn_error $? "Your ORCA version is expected to be 3.120.XXX" "$LINENO" 5 | ||
as_fn_error $? "Your ORCA version is expected to be 3.121.XXX" "$LINENO" 5 | ||
|
||
fi | ||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
-- Simple test for cancellation of a query stuck on a resource queue when the | ||
-- active statements limit is reached. | ||
|
||
0:CREATE RESOURCE QUEUE rq_cancel WITH (active_statements = 1); | ||
CREATE | ||
0:CREATE ROLE role_cancel RESOURCE QUEUE rq_cancel; | ||
CREATE | ||
|
||
-- Consume an active statement in session 1. | ||
1:SET ROLE role_cancel; | ||
SET | ||
1:BEGIN; | ||
BEGIN | ||
1:DECLARE c CURSOR FOR SELECT 0; | ||
DECLARE | ||
|
||
-- Make session 2 wait on the resource queue lock. | ||
2:SET ROLE role_cancel; | ||
SET | ||
2&:SELECT 100; <waiting ...> | ||
|
||
-- Cancel SELECT from session 2. | ||
0:SELECT pg_cancel_backend(procpid) FROM pg_stat_activity WHERE current_query='SELECT 100;'; | ||
pg_cancel_backend | ||
----------------- | ||
t | ||
(1 row) | ||
|
||
-- Now once we end session 1's transaction, we should be able to consume the | ||
-- vacated active statement slot in session 2. | ||
1:END; | ||
END | ||
|
||
2<: <... completed> | ||
ERROR: canceling statement due to user request | ||
2:END; | ||
END | ||
2:BEGIN; | ||
BEGIN | ||
2:DECLARE c CURSOR FOR SELECT 0; | ||
DECLARE | ||
|
||
2:END; | ||
END | ||
|
||
-- Sanity check: Ensure that the resource queue is now empty. | ||
0:SELECT rsqcountlimit, rsqcountvalue FROM pg_resqueue_status WHERE rsqname = 'rq_cancel'; | ||
rsqcountlimit|rsqcountvalue | ||
-------------+------------- | ||
1 |0 | ||
(1 row) | ||
|
||
-- Cleanup | ||
0:DROP ROLE role_cancel; | ||
DROP | ||
0:DROP RESOURCE QUEUE rq_cancel; | ||
DROP |
Oops, something went wrong.