You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to use a postgresql proxy / bouncer to verify conformity with established rules, log non-conform queries and possibly inject automatic edits. My use case is that I want to enforce the use of a hint /* PROJS(projection_name) */ for some relations. pgcat looks like the best option to fiddle around with performance-wise and architecture-wise.
Describe the solution you'd like
I'd like an example plugin that lets me:
iterate over the relations in a query
verify if next to them a hint-comment is present that matches the format i expect (in the form of a regex)
inserts such a hint with a default value if it's not present already
fetches the pairs relation => default hint value in config
Describe alternatives you've considered
writing the plugin on my own without an example
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I want to use a postgresql proxy / bouncer to verify conformity with established rules, log non-conform queries and possibly inject automatic edits. My use case is that I want to enforce the use of a hint
/* PROJS(projection_name) */
for some relations. pgcat looks like the best option to fiddle around with performance-wise and architecture-wise.Describe the solution you'd like
I'd like an example plugin that lets me:
relation => default hint value
in configDescribe alternatives you've considered
The text was updated successfully, but these errors were encountered: