microsoft / vscode-postgresql

PostgreSQL extension for VSCODE
Other
392 stars 50 forks source link

Can't connect after restarting VS Code. Uncaught error: "Cannot read properties of undefined (reading 'localeCompare') #115

Open pecmertens opened 1 year ago

pecmertens commented 1 year ago

Installed extension yesterday. Connected just fine as per the provided instructions and was able to perform queries normally. Booted up the client again today; PGSQL extension initializes but does not respond to commands in any way. Please advise.

Steps to Reproduce:

  1. Open VS Code after system reboot
  2. PGSQL extension runtime status displays initialization time (700 - 900ms).
  3. Choose any command from command palette (Connect, New Query etc.); nothing happens
  4. PGSQL extension runtime status shows new uncaught error: "Cannot read properties of undefined (reading: localeCompare)"