Skip to content

Enable more subscription tests for Oriole#47

Open
GremSnoort wants to merge 108 commits into
patches17from
enable-tests-patches17
Open

Enable more subscription tests for Oriole#47
GremSnoort wants to merge 108 commits into
patches17from
enable-tests-patches17

Conversation

@GremSnoort
Copy link
Copy Markdown
Contributor

@GremSnoort GremSnoort commented Feb 26, 2026

Enabled more subscription tests for Oriole in src/test/subscription/oriole_tests.txt

akorotkov and others added 30 commits February 5, 2026 13:46
Discussion: https://postgr.es/m/CAPpHfdua-YFw3XTprfutzGp28xXLigFtzNbuFY8yPhqeq6X5kg%40mail.gmail.com
Reviewed-by: Aleksander Alekseev, Pavel Borisov, Vignesh C, Mason Sharp
Reviewed-by: Andres Freund, Chris Travers
Snapshot have two pairing heap nodes: for data and system undos.
 * Added SearchCatCacheInternal_hook, SearchCatCacheList_hook
 * Added SysCacheGetAttr_hook
IsFatalError()
have_backup_in_progress()
SnapBuildNextPhaseAt()
DoLocalLockExist()
Outline-atomics is a gcc compilation flag that enables runtime detection
of CPU support for atomic instructions.
Performance on CPUs that do support atomic instructions is improved,
while compatibility and performance on CPUs without atomic instructions
is not hurt.

Discussion: https://postgr.es/m/flat/099F69EE-51D3-4214-934A-1F28C0A1A7A7%40amazon.com
Author: Tsahi Zidenberg
They are allowed to stay during shutdown checkpointing and help checkpointer
do its work.
To use curl during shared_preload_libraries initialization.
- added option --extension for pg_rewind
- extracted SimpleXLogRead from extractPageMap for generic wal iteration in pg_rewind
homper and others added 8 commits February 5, 2026 13:59
pg_column_toast_chunk_id() is tied to PG TOAST pointer format and can't work with
OrioledDB TOAST pointer. So make it safely return NULL in this case.

PG17+ only

Fixes orioledb/orioledb#690
Instead of interperting all the extension wait events as process blocker,
only recognize "StopEvent" by its name.
Use tupleid for ROW_REF_TID as in upsteam.  Use &context->tmfd.ctid for
ROW_REF_ROWID as in OrioleDB.
@GremSnoort GremSnoort changed the title Enable more regress and subscription tests for Oriole Enable more subscription tests for Oriole Feb 27, 2026
@GremSnoort GremSnoort force-pushed the enable-tests-patches17 branch from 0e9c380 to d890849 Compare February 27, 2026 08:37
@GremSnoort GremSnoort marked this pull request as ready for review February 27, 2026 08:37
@GremSnoort GremSnoort requested a review from e-ivkov February 27, 2026 08:37
@GremSnoort GremSnoort force-pushed the enable-tests-patches17 branch from d890849 to abf8347 Compare February 27, 2026 09:24
Serge-sudo and others added 5 commits February 27, 2026 17:38
…o_unset_syscache_hooks call

Single-user mode may run recovery and then start a session in the same
process. When OrioleDB is loaded, recovery initializes the catalog
cache, which caused session startup to fail because it expected a
non-initialized state.

Allow the catalog cache to be already initialized when starting a
session in single-user mode after recovery.

Additionally, fix a missing o_unset_syscache_hooks call, which left
OrioleDB syscache hooks installed across the recovery/session boundary
and contributed to crashes and inconsistent backend state.

This ensures that backend-global state is properly handled when
recovery and normal session execution happen within the same process.
The latest actions/checkout@v6 has improved credential security.
Also remove some changes for pg_regress and regress tests
@pashkinelfe pashkinelfe self-requested a review March 6, 2026 14:14
akorotkov and others added 3 commits March 10, 2026 00:04
Add extra argument indicating commit/abort.
It's needed to count custom extension data for database that is stored in
PG datadir or pg_tblspc dir but outside of <dbOid> dir.

Size counted by a hook is added to database size counted by existing method
@pashkinelfe
Copy link
Copy Markdown
Contributor

pashkinelfe commented Mar 17, 2026

Test failures with this commit on top of current patches17 patchset https://github.com/orioledb/orioledb/actions/runs/23191348359/job/67388012829

akorotkov and others added 3 commits March 22, 2026 00:49
Using this hook, extension can delay the invalidation messages handling.
Enable generated, foreign_key, update postgresql regress tests
@pashkinelfe
Copy link
Copy Markdown
Contributor

pashkinelfe commented Mar 25, 2026

Added part that's not blocked by orioledb/orioledb#791 to patches17 & bumped Oriole patchset

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.