microsoft / vscode-postgresql

PostgreSQL extension for VSCODE
Other
392 stars 50 forks source link

Is the extension available for darwin/arm64 (macOS: M1) #113

Open ewan-chalmers opened 2 years ago

ewan-chalmers commented 2 years ago

Steps to Reproduce:

  1. Install extension
  2. CMD-Shift P -> Postgres New Query
  3. Error message: PostgreSQL: Unable to execute the command while the extension is initializing. Please try again later.
  4. Output SqlToolsService: Initialization
    • It appears to hang:
      
      Initializing PostgreSQL tools service for the PostgreSQL extension.
      Note: PostgreSQL commands will be available after installing the service.

Platform-------------: darwin, arm64



This behaviour persists across reinstalls of the extension and re-starts of VS Code.
Inviz commented 1 year ago

Having the same issue. Doesn't work on M1

sillyfrog commented 1 year ago

Looking at the code here: https://github.com/microsoft/vscode-postgresql/blob/daf3e39a0d1fcabf0ec6faeae428487a66099199/src/models/platform.ts#L220-L226

It currently does not look like it's supported :(

Unfortunately I don't have time to look at it at the moment (plus I don't know TS, so would probably make a mess of it).

spencermathews commented 1 year ago

It wouldn't resolve the lack of M1 support but in the meantime it would be helpful if that "Unsupported macOS architecture" error message were output in some form where users could actually see it. Where does the message actually go?

filipponova commented 8 months ago

Having the same issue. Doesn't work on macbooks with ARM chips.

xsa-dev commented 7 months ago

Having the same issue

jpda commented 6 months ago

if you feel like getting your hands a bit dirty, you can fix it by updating the config files, see here https://gist.github.com/jpda/2c11dc11d51bf049aa364897c5c76085