Skip to content

temp_tables_stat fixes#362

Merged
andr-sokolov merged 6 commits intoOPENGPDB_STABLEfrom
temp_tables_stat_fixes
Mar 20, 2026
Merged

temp_tables_stat fixes#362
andr-sokolov merged 6 commits intoOPENGPDB_STABLEfrom
temp_tables_stat_fixes

Conversation

@andr-sokolov
Copy link
Contributor

Fixes after temp_tables_stat review in GreengageDB/greengage#133
The PR commits should be merged without squash

Greenplum is run on Linux only
LWLock is allocated in the TTSHeadNode structure, so there is no need to
allocate LWLock in the main array, so the call of RequestAddinLWLocks is
removed.

It necessary to pass tranche id to LWLockInitialize. Tranche with id=0
corresponds to the main array. So we should create a new tranche.
We should check that the extension works correctly when temporary tables are
created in non-default tablespace.
@andr-sokolov andr-sokolov merged commit 37354e1 into OPENGPDB_STABLE Mar 20, 2026
22 checks passed
@andr-sokolov andr-sokolov deleted the temp_tables_stat_fixes branch March 20, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants