spqr icon indicating copy to clipboard operation
spqr copied to clipboard

Specify message when query is blocked due to the default route behavior

Open PavelLovygin opened this issue 7 months ago • 1 comments

…e behavior

PavelLovygin avatar May 07 '25 07:05 PavelLovygin

Hi there! Thank you for your contribution to our project! It seems like your PR fixes #803.

Could you please provide some tests for this PR? For instance, in the regress tests, you could explicitly set the default route behavior to BLOCK and check if you actually get an error with the specified message.

Smth like: CREATE TABLE denchick(i int) /* __spqr__default_route_behaviour: block */;

Denchick avatar May 08 '25 13:05 Denchick