Skip to content

[Feat]: Allow passing a startup script #350

Description

@boredland

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 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:

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions