Skip to content

Comments

Add UDS socket test for yagp_hooks_collector#16

Merged
NJrslv merged 1 commit intoyagp-hooks-collectorfrom
yagp-hooks-collector-uds-test
Jan 20, 2026
Merged

Add UDS socket test for yagp_hooks_collector#16
NJrslv merged 1 commit intoyagp-hooks-collectorfrom
yagp-hooks-collector-uds-test

Conversation

@NJrslv
Copy link

@NJrslv NJrslv commented Jan 20, 2026

Similarly to [1] add a test for UDS sockets in yagp_hooks_collector.

The testing C functions have changed to set-returning ones if comparing with [1] because we need a control over the place where function is executed - either on master or segments. In cloudberry these functions must return set of values so I changed them to return SETOF. Similarly to [2], these functions were moved to hook_wrappers.cpp.

The part of converting functions to set-returning ones was also done in commit [2].

[1] open-gpdb/gpdb@989ca06
[2] ae4079f

The testing C functions have changed to set-returning ones if comparing with [1] because we need a control over the place where function is executed - either on master or segments. In cloudberry these functions must return set of values so I changed them to return SETOF.
Similarly to [2], these functions were moved to hook_wrappers.cpp.

The part of converting functions to set-returning ones was also done in commit [2].

[1] open-gpdb/gpdb@989ca06
[2] ae4079f
@NJrslv
Copy link
Author

NJrslv commented Jan 20, 2026

@NJrslv NJrslv merged commit 8da993f into yagp-hooks-collector Jan 20, 2026
7 checks passed
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