![]() ![]() If you still run into issues, share the screenshot and I can have a look – If you are doing, this just follow post to install / configure PostgreSQL extension. Just think of this as a GUI app like pgAdmin or dbeaver that enables you to view database and run queries. – You can use the extension independently to connect to a postgres db and query objects. – So my post here illustrate PostgreSQL VS Code extension by Microsoft that can be used to connect PostgreSQL instance within VS Code Now about the issue: Unable to connect from VS Code to PostgreSQL Workaround is either to keep the result window Open Or close / re-open the VS code window.įirst I’m super impressed to know that with at your age, you are making efforts to learn Python and that you took to test something, run into issue and tried googling the solution. This is bug with current version and is being worked by dev team. So now, you can seamlessly code for PostgreSQL from Microsoft VS Code without switching screens, leverage powerful intellisense and execute queries.Įnjoy Coding! IMP NOTE: Result windows from queries won´t show up again after being closed. 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.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |