Prerequisites
🚀 Feature Proposal
I would like to be able to define some SQL on a connection to be run on startup, similar to the "startup script" option that DataGrip offers:
Motivation
Sometimes you just need to SET something for each and every startup, like when you want to bypass the RLS in development. If you can't, I think there is basically no way to "just click on a table name and display the rows" - rendering much of the UI useless with RLS enabled.
Example
SELECT set_config('app.bypass_rls', 'on', false); or similar set_config overrides per connection.
Prerequisites
🚀 Feature Proposal
I would like to be able to define some SQL on a connection to be run on startup, similar to the "startup script" option that DataGrip offers:
Motivation
Sometimes you just need to
SETsomething for each and every startup, like when you want to bypass the RLS in development. If you can't, I think there is basically no way to "just click on a table name and display the rows" - rendering much of the UI useless with RLS enabled.Example
SELECT set_config('app.bypass_rls', 'on', false);or similarset_configoverrides per connection.