Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Postgres Server Crash #407

Open
Open
Labels
bugSomething isn't working
@Arjith8

Description

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

┌─┘
└─┐pgt_lsp::handlers::completions::get_completions{params=CompletionParams { text_document_position: TextDocumentPositionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/home/arjith/dev/exploration/support_app_BE/db/migrations/000001_create_users_table.up.sql", query: None, fragment: None } }, position: Position { line: 0, character: 19 } }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None }, partial_result_params: PartialResultParams { partial_result_token: None }, context: Some(CompletionContext { trigger_kind: TriggerCharacter, trigger_character: Some(" ") }) }}
 └─┐pgt_workspace::workspace::server::get_completions{path="/home/arjith/dev/exploration/support_app_BE/db/migrations/000001_create_users_table.up.sql", position="19"}
 ├─2025年05月24日 19:42:02.506470978 0ms DEBUG pgt_workspace::workspace::server No connection to database. Skipping completions.
 ┌─┘
┌─┘
└─┐pgt_lsp::handlers::text_document::did_change{params=DidChangeTextDocumentParams { text_document: VersionedTextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/home/arjith/dev/exploration/support_app_BE/db/migrations/000001_create_users_table.up.sql", query: None, fragment: None }, version: 25 }, content_changes: [TextDocumentContentChangeEvent { range: Some(Range { start: Position { line: 0, character: 19 }, end: Position { line: 0, character: 19 } }), range_length: Some(0), text: "{" }] }}
 └─┐pgt_workspace::workspace::server::change_file{path="/home/arjith/dev/exploration/support_app_BE/db/migrations/000001_create_users_table.up.sql", version=25}
 ├─2025年05月24日 19:42:05.683067555 0ms ERROR pgt_cli::panic Encountered an unexpected error
 │ 
 │ This is a bug in Postgres Tools, not an error in your code, and we would appreciate it if you could report it along with the following information to help us fixing the issue:
 │ 
 │ Source Location: crates/pgt_lexer/src/codegen.rs:3:1
 │ Thread Name: tokio-runtime-worker
 │ Message: Unknown token: 123
 │ 
 ┌─┘
┌─┘
┘

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

        AltStyle によって変換されたページ (->オリジナル) /