-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Labels
type: BugSomething isn't workingSomething isn't working
Description
Cloudberry Database version
PostgreSQL 14.4 (Cloudberry Database 1.0.0+d0add48 build commit:d0add48089f13bbaa31284ac62ab88eb79806671)
What happened
One fewer lock than before when inserting.
Expected result:
1: BEGIN;
BEGIN
1: INSERT INTO ao VALUES (200, 200);
INSERT 1
SELECT * FROM locktest;
coalesce | mode |locktype
---------------------------------+----------------+--------
ao |RowExclusiveLock|relation
ao |RowExclusiveLock|relation
locktest |AccessShareLock |relation
pg_class |AccessShareLock |relation
pg_class |AccessShareLock |relation
pg_class_oid_index |AccessShareLock |relation
pg_class_relname_nsp_index |AccessShareLock |relation
pg_class_tblspc_relfilenode_index|AccessShareLock |relation
pg_locks |AccessShareLock |relation
(9 rows)
Actual result:
1: BEGIN;
BEGIN
1: INSERT INTO ao VALUES (200, 200);
INSERT 1
SELECT * FROM locktest;
coalesce | mode |locktype
---------------------------------+----------------+--------
ao |RowExclusiveLock|relation
ao |RowExclusiveLock|relation
locktest |AccessShareLock |relation
pg_class |AccessShareLock |relation
pg_class_oid_index |AccessShareLock |relation
pg_class_relname_nsp_index |AccessShareLock |relation
pg_class_tblspc_relfilenode_index|AccessShareLock |relation
pg_locks |AccessShareLock |relation
(8 rows)
What you think should happen instead
No response
How to reproduce
tbd
Operating System
centos7
Anything else
No response
Are you willing to submit PR?
- Yes, I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct.
Metadata
Metadata
Assignees
Labels
type: BugSomething isn't workingSomething isn't working