Skip to content

Add extension for AST-based audit logging - #416

Open
MutableFire wants to merge 1 commit into
open-gpdb:OPENGPDB_STABLEfrom
MutableFire:ast_log
Open

Add extension for AST-based audit logging#416
MutableFire wants to merge 1 commit into
open-gpdb:OPENGPDB_STABLEfrom
MutableFire:ast_log

Conversation

@MutableFire

@MutableFire MutableFire commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Add ast_log extension that logs Query AST (Abstract Syntax Trees) for
INSERT INTO ... SELECT and CREATE TABLE AS SELECT statements.
Provide ast_log.ctas and ast_log.insert GUCs to enable logging for
each class of statements independently.

Co-Authored-By: andr-sokolov sokolov.andrey.yurevich@gmail.com

Comment thread gpcontrib/ast_log/ast_log.c Outdated
@MutableFire
MutableFire force-pushed the ast_log branch 8 times, most recently from 526168c to 49bcce4 Compare August 31, 2026 12:44
@MutableFire
MutableFire marked this pull request as ready for review August 31, 2026 14:36
@MutableFire
MutableFire force-pushed the ast_log branch 2 times, most recently from ed181d6 to 80ca59c Compare September 1, 2026 10:54
Comment thread gpcontrib/ast_log/sql/ast_log.sql Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/expected/ast_log.out Outdated
Comment thread gpcontrib/ast_log/ast_log.c
Comment thread gpcontrib/ast_log/sql/ast_log.sql Outdated
Comment thread gpcontrib/ast_log/sql/ast_log.sql Outdated
Comment thread gpcontrib/ast_log/ast_log.control Outdated
Comment thread gpcontrib/Makefile Outdated
@MutableFire
MutableFire force-pushed the ast_log branch 2 times, most recently from d420c8c to 6d84300 Compare September 8, 2026 10:31
@MutableFire
MutableFire force-pushed the ast_log branch 7 times, most recently from 80d9d3e to 9fd6358 Compare September 9, 2026 13:15
@MutableFire
MutableFire force-pushed the ast_log branch 3 times, most recently from 459fd6e to dccbb24 Compare September 10, 2026 11:09
Comment thread gpcontrib/ast_log/expected/ast_log.out Outdated
Comment thread gpcontrib/ast_log/sql/ast_log.sql Outdated
Comment thread gpcontrib/ast_log/expected/ast_log.out Outdated
Comment thread gpcontrib/ast_log/expected/ast_log.out Outdated
Comment thread gpcontrib/ast_log/expected/ast_log.out
Comment thread gpcontrib/ast_log/expected/ast_log.out Outdated
Comment thread gpcontrib/ast_log/expected/ast_log.out Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/expected/ast_log.out Outdated
Comment thread gpcontrib/ast_log/sql/ast_log.sql Outdated
Comment thread gpcontrib/ast_log/sql/ast_log.sql Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c Outdated
Comment thread gpcontrib/ast_log/ast_log.c
@MutableFire
MutableFire force-pushed the ast_log branch 3 times, most recently from 60704bd to 57be3cd Compare September 11, 2026 14:22
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