Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>pgsqlNew to Visual Studio Code? Get it now.
pgsql

pgsql

doublefint

|
64,531 installs
| (7) | Free
run sql in your postgres instance
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

pgsql extension

This extension is fixed clone of postgresql by JPTarquino

Features:

  • Execute sql file into Postgres (Ctrl+F5) via psql
  • Colorization - converted from mulander
  • Completion lists for keywords - copied from the Postgres documentation
  • Few snippets ( Ctrl+Space, type 'pg' )

The extension recognizes the *.sql, *.ddl, *.dml, *.pgsql extension as sql files intended to be run in Postgres

demo

Usage

  • Setup psql is in the OS executable path
  • Customize Postgress connection ( settings in workspace ):
{ "pgsql.connection": "postgres://username:password@host:port/database" }
  • Open file with pgsql type and run ( press Ctrl+F5 or Cmd+F5 on Mac )
  • For snippets press Ctrl+Space, type 'pg'
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft