QueryBox supports PostgreSQL databases through a native driver plugin. Connect to local or remote PostgreSQL servers with flexible SSL/TLS configuration.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/felixdotgo/querybox/llms.txt
Use this file to discover all available pages before exploring further.
Connection Configuration
- Basic
Configure your PostgreSQL connection using individual parameters:
PostgreSQL server hostname or IP addressDefault:
localhostPostgreSQL server portDefault:
5432Database usernameDefault:
postgresDatabase password
Database name to connect to
SSL/TLS mode for secure connectionsOptions:
disable, require, verify-ca, verify-fullDefault: disableAdditional connection parametersExample:
connect_timeout=5&application_name=myappSSL/TLS Modes
PostgreSQL supports multiple SSL modes for different security requirements:- disable: No SSL encryption (default)
- require: SSL encryption required, no certificate verification
- verify-ca: SSL encryption with CA certificate verification
- verify-full: SSL encryption with full certificate verification including hostname
When using
verify-ca or verify-full, QueryBox automatically uses embedded root certificates for verification.Connection String Examples
Local Development
Remote Server with SSL
URL Format
With Connection Timeout
Supported Features
SQL Queries
Execute SELECT, INSERT, UPDATE, DELETE statements
Query Explanation
Analyze query execution plans with EXPLAIN
Schema Browser
Browse databases, schemas, tables, and views
DDL Operations
Create and drop databases, schemas, and tables
Capabilities
- Query Execution: Run arbitrary SQL queries and view results
- Explain Query: Prefix queries with
EXPLAINto analyze execution plans - Connection Tree: Navigate database → schema → table hierarchy
- Schema Support: Full support for PostgreSQL schemas (excludes system schemas)
- Table & View Detection: Automatically identifies tables, views, materialized views, and foreign tables
- DDL Actions: Create/drop databases and tables with visual tools
- SSL/TLS Support: Multiple SSL modes with embedded root certificate validation
Database Structure
The PostgreSQL plugin displays a hierarchical tree:- Server (connection root)
- Databases (current database shown)
- Schemas (excludes
pg_catalog,information_schema, and other system schemas) - Tables/Views (includes regular tables, views, materialized views, partitioned tables, and foreign tables)
Notes
A default connection timeout of 5 seconds is automatically applied if not specified.
Plugin Information
- Version: 0.1.0
- License: PostgreSQL
- Author: PostgreSQL Global Development Group
- Tags: sql, relational