Skip to content

[18.0][ADD] auditlog_clickhouse_read: add FDW read mode#3543

Draft
tendil wants to merge 2 commits intoOCA:18.0from
cetmix:18.0-t5248-auditlog_clickhouse_read-add_read_via_pg_clickhouse
Draft

[18.0][ADD] auditlog_clickhouse_read: add FDW read mode#3543
tendil wants to merge 2 commits intoOCA:18.0from
cetmix:18.0-t5248-auditlog_clickhouse_read-add_read_via_pg_clickhouse

Conversation

@tendil
Copy link

@tendil tendil commented Mar 9, 2026

Add new module auditlog_clickhouse_read to display audit logs stored in ClickHouse through PostgreSQL FDW.

The module adds a switchable read mode for standard auditlog views, protects auditlog models from write operations while FDW read is enabled, and provides safe enable/disable flow with schema checks and rollback support.

Also add test coverage for FDW mode switching, configuration guards, DDL helpers, and readonly behavior.

Task: 5248

Add new module auditlog_clickhouse_read to display audit logs
stored in ClickHouse through PostgreSQL FDW.

The module adds a switchable read mode for standard auditlog
views, protects auditlog models from write operations while FDW
read is enabled, and provides safe enable/disable flow with
schema checks and rollback support.

Also add test coverage for FDW mode switching, configuration
guards, DDL helpers, and readonly behavior.

Task: 5248
@tendil tendil marked this pull request as draft March 9, 2026 19:44
@tendil tendil changed the title [ADD] auditlog_clickhouse_read: add FDW read mode [18.0][ADD] auditlog_clickhouse_read: add FDW read mode Mar 9, 2026
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.

1 participant