Skip to content

pgt_statement_splitter error #540

@rkolka

Description

@rkolka

Bug report

Describe the bug

2025-07-25 12:09:46.314 [info] Encountered an unexpected error
Source Location: crates\pgt_statement_splitter\src\splitter.rs:115:14
Thread Name: tokio-runtime-worker
Message: lexed should have non-trivia eof token

2025-07-25 12:09:46.597 [info] [Error - 12:09:46 PM] PostgresTools language server closed
2025-07-25 12:09:46.597 [info] [Error - 12:09:46 PM] Server process exited with code 0.

To Reproduce

Open and edit some SQL file in VS Code

System information

  • OS: Windows 11
  • VS Code Version: 1.102.2
    Commit: c306e94f98122556ca081f527b466015e1bc37b0
    Date: 2025-07-22T12:15:48.520Z
    Electron: 35.6.0
    ElectronBuildId: 11847422
    Chromium: 134.0.6998.205
    Node.js: 22.15.1
    V8: 13.4.114.21-electron.0
    OS: Windows_NT x64 10.0.26100

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions