GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PSQL Tool fails on Windows in 9.19 with `could not find a "" to execute` (works in 9.18) · Issue #10759 · pgadmin-org/pgadmin4

PSQL Tool fails on Windows in 9.19 with could not find a "" to execute (works in 9.18) #10759

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
PSQL Tool fails on Windows in 9.19 with could not find a "" to execute (works in 9.18)#10759
Copy link
Labels
Bug

Description

@wolfgang38330
wolfgang38330
opened on Nov 6, 2026
Issue body actions

After upgrading from pgAdmin 9.18 to 9.19 on Windows, opening the PSQL Tool (right-click a database → PSQL Tool) shows only the following message in the tool tab, and no psql prompt appears:

could not find a "" to execute

The PSQL Tool worked correctly in 9.18 on the same machine and with the same server and settings.

To reproduce

  1. Install pgAdmin 9.19 (desktop mode) on Windows 11.
  2. Under Preferences → Paths → Binaries → PostgreSQL Binary Path, set PostgreSQL 15 to C:\Program Files\PostgreSQL\15\bin and mark it as the default.
  3. In the Object Explorer, right-click any database (for example postgres) → PSQL Tool.
  4. The tab opens and displays the error above.

Expected behavior

The PSQL Tool opens an interactive psql session on the selected database, as it did in 9.18.

What I have checked

  • The problem occurs on every database I tried, including postgres and one whose name has no spaces, so it is not related to the database name.
  • Backup works in 9.19, so the binary path is recognised and pg_dump is found.
  • Running "C:\Program Files\PostgreSQL\15\bin\psql.exe" --version in a command prompt prints psql (PostgreSQL) 15.2, so the executable is present and runs.
  • Restarting pgAdmin and closing all tabs does not help.
  • I read the 9.19 release notes and found no entry describing a change to the PSQL Tool. Possibly related are Windows 9.18: GSSAPI-enabled libpq causes "access violation writing 0x0" on connect, and a missing gssapi64.dll for pg_dump #10428 (Windows utilities and the Kerberos runtime staged next to libpq) and Utilities ignore the selected database when the server's service file sets dbname #10463 (connection parameters now passed to the utilities), but I cannot confirm this.

Error message

could not find a "" to execute

This message comes from PostgreSQL's own executable-lookup code, and the empty name between the quotes suggests the PSQL Tool may be launching psql with an empty command or program name. This is only a guess.

Environment

  • pgAdmin version: 9.19 (upgraded from 9.18 on 2026-11-05)
  • Mode: Desktop, Windows installer
  • OS: Windows 11 (version 10.0.26200.9711)
  • Server: PostgreSQL 15 on localhost, port 5433
  • psql used: 15.2 (C:\Program Files\PostgreSQL\15\bin)
  • UI language: French

Activity

  1. wolfgang38330
    added
    Bug
    on Nov 6, 2026
  2. dpage commented on Nov 6, 2026

    @dpage
    dpage
    on Nov 6, 2026
    Contributor
    More actions

    Thanks for the detailed report. This is a duplicate of #10714, which was fixed by #10725 (df554c7). The fix will be in the next release; in the meantime you can try a nightly snapshot from https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/

  3. dpage
    closed this as a duplicateof PSQL tool not working as expected on pgAdmin 9.19 - #10714 on Nov 6, 2026
  4. Lhy-ao commented on Nov 9, 2026

    @Lhy-ao
    Lhy-ao
    on Nov 9, 2026
    More actions

    Thanks for the detailed report. This is a duplicate of #10714, which was fixed by #10725 (df554c7). The fix will be in the next release; in the meantime you can try a nightly snapshot from https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/

    @dpage This fix still has issues—now there's a new error showing up.
    : error: connection to server at "localhost" (127.
    0.0.1), port 5432 failed: FATAL: user "host=lo
    calhost port=5432 dbname=postgres user=postgres ss
    lmode=" Password authentication failed

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

    Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.