Skip to content

Linux: functions, procedures, sequences and triggers in the sidebar #3960

Closed

Description

@J2TeamNNL

Problem

linux/ROADMAP.md, Backlog, "Browse, edit and structure":

Functions, procedures, sequences and triggers in the sidebar. The drivers already list the first three.

The Linux sidebar shows only what the grid can page through. The PostgreSQL, MySQL, MariaDB, SQL Server and ClickHouse drivers already list functions, procedures and sequences, but the sidebar drops them. No driver lists triggers, and no driver can read the SQL that defines any of these objects.

Proposed solution

  • Drivers list triggers with the table each one fires on: PostgreSQL, MySQL, MariaDB, SQL Server and SQLite. Engines without triggers list none.
  • A new driver call reads the definition of a function, procedure, sequence or trigger. Every overload of a PostgreSQL function name is shown.
  • The sidebar lists these objects in their schema, after the tables and views, each kind with its own icon and spoken kind. The search finds them, and a trigger is also found by its table's name.
  • Opening one shows its definition, read-only, in a dialog with a source view. The dialog offers Copy and Open in Editor, for when the user does want to change it.
  • Tests against the real engines, ignored with requires docker, cover the listing and the definitions.

Alternatives considered

  • A tab per definition. A read-only dialog needs no new tab kind and no saved workspace state, and Open in Editor covers editing.
  • Kind folders under each schema. The sidebar is one flat list per schema today. Grouping by kind inside it keeps the existing search and selection model.

Platform

Linux

Related database type

PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, ClickHouse

Activity

  1. added
    enhancement
    platform-linux
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplatform-linux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions