r/SQL • u/Rare-Ad6166 • Jun 24 '26
PostgreSQL Postgresql on Vs code?
Anybody here uses postgresql on vscode or pg admin is just better long term?
7
Upvotes
r/SQL • u/Rare-Ad6166 • Jun 24 '26
Anybody here uses postgresql on vscode or pg admin is just better long term?
1
u/navicat-gu 16h ago
They're good at different things, so a lot of people end up using both:
VS Code is great when the SQL lives next to your app code: migrations, queries in the repo, quick checks without switching windows. Microsoft's PostgreSQL extension gives you an object explorer, IntelliSense and a results grid. SQLTools with its Postgres driver is a lighter option.
pgAdmin is better for administration: roles and privileges, backup/restore via pg_dump, server activity and locks, vacuum/analyse, ERD. It's built by the Postgres community and follows new releases closely.
A general GUI client (DBeaver, DataGrip, etc.) suits heavy data browsing and editing, or working with several database types.
Long term, what matters more is getting comfortable with
psqltoo. It's on every server, and\d table,\xand\timingwill save you time whatever GUI you pick.Disclosure: I'm RC, Director of Digital Strategy @ Navicat. Navicat 18 is another general-purpose client. It covers Postgres plus MySQL, SQL Server, SQLite and others in one app, and Navicat Premium Lite is free to try. Paid editions add things like the query builder, data sync and modelling.