

You can also save the query results as JSON, CSV or Excel. Right-click, select Execute Query / keyboard shortcut and the results will show in a new window.Ħ. It will show your connected hostname, database, and user. You can confirm this via the Status Bar ( the ribbon at the bottom of the VS Code window). You are now connected to your Postgres database. Follow the prompts to enter your Postgres instance hostname, database, username, and password. In the command palette, select Create Connection Profile.


