Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Running a query requires a begin/end block #49

Open
@Cabeda

Description

@Cabeda
  • PGSQL Extension Version: 0.2.0
  • VSCode Version: 1.35.1
  • OS Version: MacOs Mojave 10.14.5

Steps to Reproduce:

  1. Run query 'SELECT * FROM pg_stat_activity;';
  2. Result returns 'cursors can only be used within the transaction that created them. '
  3. Run query BEGIN; SELECT * FROM pg_stat_activity; END;
  4. Query returns the result correctly

Is this the supposed to happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions