A powerful hybrid QGIS 4 plugin and standalone desktop application for spatial database management — in English and Georgian.
Features
A complete suite for spatial database management — from raw SQL to raster analysis.
Multiple named connection profiles with SSL, timeout and auto-save. Detects PostGIS, pgRouting, Topology and Raster versions on connect.
Syntax highlighting for SQL and PostGIS functions, persistent query history, templates toolbar, result table with CSV export, F5 shortcut.
Import Shapefile, GeoJSON, GeoPackage, KML. Raster via raster2pgsql with tile size, SRID, overview and constraint options.
Dijkstra shortest path, Driving Distance and Isochrone analysis. Results table with one-click load into QGIS canvas.
Visual table creator with column types, constraints, indexes. Schema and Role manager with GRANT/REVOKE GUI. Materialized view lifecycle.
Server-side Buffer, Simplify, Convex Hull, Union. Geometry validation: invalid, null, duplicate, self-intersecting, wrong SRID.
Statistics, histogram, map algebra (NDVI, threshold, custom expressions), focal analysis and reproject via PostGIS raster functions.
Live server metrics: connection count, cache hit ratio, transaction rate, active queries, table sizes, unused indexes. Auto-refreshes on open.
GUI wrapper for pg_dump, pg_restore and psql. Custom format, directory, plain SQL and tar formats. Live streaming progress output.
Create PostGIS topologies with configurable SRID and precision. Validate and browse topology errors with geometry pair display.
Launch and manage Docker/Podman PostGIS containers. Scan LAN subnets for running PostgreSQL servers and add them as connections.
Row-level version control via pgVersion. Commit, checkout, diff and branch support with full history log.
Architecture
The same codebase runs inside QGIS and as an independent desktop app. Zero duplication.
Pure Python + PyQt6 — no QGIS imports. Runs anywhere with psycopg2 installed. All DB logic, UI panels and theming live here.
Thin adapter using qgis.PyQt shim. Adds a toolbar button, QGIS Processing provider with 6 algorithms, and layer loading via iface.
21 panels grouped into 7 categories in a sidebar+stacked layout — pgAdmin/DBeaver style. No more overloaded tab bar.
Language and theme switch instantly without restart. All strings from JSON files; QSS theme engine with full light/dark token set.
Installation
In QGIS: Plugins → Manage and Install Plugins → Install from ZIP → select postgis_manager_plugin.zip
Enable PostGIS Manager in the plugin list. A toolbar button and Plugins → PostGIS Manager menu entry appear.
QGIS 3.34 LTR or QGIS 4.x (Qt6). psycopg2-binary must be available in your Python environment.
Python 3.10+, PyQt6 ≥ 6.4, psycopg2-binary ≥ 2.9. For raster import: raster2pgsql must be in PATH (PostGIS client tools).
Languages
Switch language from the toolbar dropdown or Settings dialog — no restart required.
Credits
See CREDITS.md for the full list of referenced projects, authors and licenses.
Contributing
Whether it is a bug fix, a new panel, a translation improvement or just documentation — every contribution is welcome.
Found something broken? Open an issue on GitHub with steps to reproduce and your OS / QGIS version.
Have an idea for a new panel or workflow? Open a GitHub issue with your use-case and we will discuss it.
Add a new language by creating i18n/xx.json based on en.json and opening a pull request.
Fork → branch → PR. CI runs ruff lint, syntax check and headless PyQt6 import test automatically.