You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by av...@apache.org on 2025/01/23 09:05:18 UTC
(cloudberry) 26/26: fix cherry-pick
This is an automated email from the ASF dual-hosted git repository.
avamingli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit a9a49325fa1b571c70762dd7338aa4cec2ddd2e2
Author: Zhang Mingli <av...@gmail.com>
AuthorDate: Thu Jan 23 11:48:22 2025 +0800
fix cherry-pick
---
contrib/pg_buffercache/Makefile | 1 -
src/backend/access/transam/xlog.c | 2 +-
src/test/isolation2/expected/resource_queue_multi_portal.out | 6 +++---
src/test/singlenode_regress/expected/privileges.out | 4 ----
4 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/contrib/pg_buffercache/Makefile b/contrib/pg_buffercache/Makefile
index 01d48efa39..123b2a8ebb 100644
--- a/contrib/pg_buffercache/Makefile
+++ b/contrib/pg_buffercache/Makefile
@@ -8,7 +8,6 @@ OBJS = \
EXTENSION = pg_buffercache
DATA = pg_buffercache--1.2.sql pg_buffercache--1.2--1.3.sql \
pg_buffercache--1.1--1.2.sql pg_buffercache--1.0--1.1.sql \
- pg_buffercache--unpackaged--1.0.sql \
pg_buffercache--1.3--1.4.sql \
pg_buffercache--1.4--1.4.1.sql
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index ecc7f77ffa..87853dcafe 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7550,7 +7550,7 @@ StartupXLOG(void)
*/
StartupSUBTRANS(oldestActiveXID);
DistributedLog_Startup(oldestActiveXID,
- XidFromFullTransactionId(ShmemVariableCache->nextFullXid));
+ XidFromFullTransactionId(ShmemVariableCache->nextXid));
/*
* If we're beginning at a shutdown checkpoint, we know that
diff --git a/src/test/isolation2/expected/resource_queue_multi_portal.out b/src/test/isolation2/expected/resource_queue_multi_portal.out
index 356d32ee0f..0ca85d82a5 100644
--- a/src/test/isolation2/expected/resource_queue_multi_portal.out
+++ b/src/test/isolation2/expected/resource_queue_multi_portal.out
@@ -19,9 +19,9 @@ SET
1:BEGIN;
BEGIN
1:DECLARE c1 CURSOR FOR SELECT 1;
-DECLARE CURSOR
+DECLARE
1:DECLARE c2 CURSOR FOR SELECT 1;
-DECLARE CURSOR
+DECLARE
-- Shows 1 lock on the resource queue, with 2 holders (one for each cursor).
-- Note: In the gp_locks_on_resqueue view, we show that lorusename as the
@@ -39,7 +39,7 @@ DECLARE CURSOR
(1 row)
1:END;
-COMMIT
+END
--
-- Scenario 1:
diff --git a/src/test/singlenode_regress/expected/privileges.out b/src/test/singlenode_regress/expected/privileges.out
index 1fe8cce219..8edbe4a41d 100644
--- a/src/test/singlenode_regress/expected/privileges.out
+++ b/src/test/singlenode_regress/expected/privileges.out
@@ -2458,10 +2458,6 @@ LOCK TABLE lock_table IN ACCESS EXCLUSIVE MODE; -- should pass
COMMIT;
\c
REVOKE TRUNCATE ON lock_table FROM regress_locktable_user;
--- regression test: superuser create a schema and authorize it to a non-superuser
-DROP ROLE IF EXISTS "non_superuser_schema";
-CREATE ROLE "non_superuser_schema";
-CREATE SCHEMA test_non_superuser_schema AUTHORIZATION "non_superuser_schema";
-- clean up
DROP TABLE lock_table;
DROP USER regress_locktable_user;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org