PostgreSQL extension for VSCODE
Перейти к файлу
microsoft-github-policy-service[bot] 0677ba5547
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-12 19:31:07 +00:00
.vscode initial code 2018-03-27 20:49:39 -07:00
images enable debugging 2018-04-06 14:35:50 -07:00
localization/xliff/enu Upgraded the http proxy and removed deprecated call from vscode 2019-04-03 19:29:45 -07:00
samples initial code 2018-03-27 20:49:39 -07:00
scripts initial code 2018-03-27 20:49:39 -07:00
snippets initial code 2018-03-27 20:49:39 -07:00
src Updated the tools service version 2019-04-09 11:49:58 -07:00
syntaxes initial code 2018-03-27 20:49:39 -07:00
tasks removed x86 2019-04-09 11:25:46 -07:00
test Updated the platform 2019-04-09 11:18:13 -07:00
typings Upgraded the http proxy and removed deprecated call from vscode 2019-04-03 19:29:45 -07:00
.gitignore initial code 2018-03-27 20:49:39 -07:00
.mention-bot initial code 2018-03-27 20:49:39 -07:00
.travis.yml initial code 2018-03-27 20:49:39 -07:00
.vscodeignore initial code 2018-03-27 20:49:39 -07:00
CHANGELOG.md initial code 2018-03-27 20:49:39 -07:00
LICENSE Update License 2019-03-13 23:30:01 -07:00
README.md Update README.md 2019-03-18 11:55:55 -07:00
SECURITY.md Microsoft mandatory file 2023-06-02 19:10:58 +00:00
ThirdPartyNotices.txt Updated display name for extension and few messagings 2019-03-15 18:38:15 -07:00
appveyor.yml Upgraded the http proxy and removed deprecated call from vscode 2019-04-03 19:29:45 -07:00
coverconfig.json initial code 2018-03-27 20:49:39 -07:00
gulpfile.js initial code 2018-03-27 20:49:39 -07:00
install.js initial code 2018-03-27 20:49:39 -07:00
issue_template.md initial code 2018-03-27 20:49:39 -07:00
karma-test-shim.js initial code 2018-03-27 20:49:39 -07:00
karma.conf.js initial code 2018-03-27 20:49:39 -07:00
npm-shrinkwrap.json Updated the platform 2019-04-09 11:18:13 -07:00
package.json Updated the platform 2019-04-09 11:18:13 -07:00
package.nls.json Upgraded the http proxy and removed deprecated call from vscode 2019-04-03 19:29:45 -07:00
tsconfig.json Upgraded the http proxy and removed deprecated call from vscode 2019-04-03 19:29:45 -07:00
tslint.json initial code 2018-03-27 20:49:39 -07:00

README.md

PostgreSQL for Visual Studio Code

Welcome to PostgreSQL for Visual Studio Code! An extension for developing PostgreSQL with functionalities including:

  • Connect to PostgreSQL instances
  • Manage connection profiles
  • Connect to a different Postgres instance or database in each tab
  • View object DDL with 'Go to Definition' and 'Peek Definition'
  • Write queries with IntelliSense
  • Run queries and save results as JSON, csv, or Excel

Install link: https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-postgresql

Quickstart

  1. Open the Command Palette (Ctrl + Shift + P).

  2. Search and select 'PostgreSQL: New Query'

  3. In the command palette, select 'Create Connection Profile'. Follow the prompts to enter your Postgres instance's hostname, database, username, and password.

You are now connected to your Postgres database. You can confirm this via the Status Bar (the ribbon at the bottom of the VS Code window). It will show your connected hostname, database, and user.

  1. You can type a query like 'SELECT * FROM pg_stat_activity';

  2. Right-click, select 'Execute Query' and the results will show in a new window.

You can save the query results to JSON, csv or Excel.

Offline Installation

The extension will download and install a required PostgreSQL Tools Service package during activation. For machines with no Internet access, you can still use the extension by choosing the Install from VSIX... option in the Extension view and installing a bundled release from our Releases page. Each operating system has a .vsix file with the required service included. Pick the file for your OS, download and install to get started. We recommend you choose a full release and ignore any alpha or beta releases as these are our daily builds used in testing.

Support

Support for this extension is provided on our GitHub Issue Tracker. You can submit a bug report, a feature suggestion or participate in [discussions].

Contributing to the Extension

See the developer documentation for details on how to contribute to this extension.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Privacy Statement

The Microsoft Enterprise and Developer Privacy Statement describes the privacy statement of this software.

License

This extension is licensed under the MIT License. Please see the third-party notices file for additional copyright notices and license terms applicable to portions of the software.