About PostgreSQL
PostgreSQL is an object-relational database developed by a global community under the permissive PostgreSQL License. It offers MVCC transactions, rich SQL with window functions and CTEs, JSONB documents, full-text search, table partitioning, and both streaming and logical replication.
Extensions such as PostGIS and pgvector turn the same server into a GIS engine or a vector store. A dedicated CloudSat VPS gives the database its own NVMe disk and memory, and a snapshot before each major upgrade gives you a restore point.
The server listens on port 5432 for local connections only, and you administer it through psql as the postgres system user.
What you get with PostgreSQL
- MVCC transactions with full ACID guarantees
- JSONB, arrays and full-text search in plain SQL
- Streaming and logical replication
- Declarative table partitioning
- Extensions such as PostGIS, pgvector and pg_stat_statements
PostgreSQL use cases
- Primary database for Django, Rails, Laravel or Node.js apps
- Geospatial queries with PostGIS
- Embedding search with pgvector beside relational data
After you deploy PostgreSQL
- Once the console reads Running, SSH in and open a shell with
sudo -u postgres psql. - Create a role and database per app, for example
CREATE ROLE shop LOGIN PASSWORD '<secret>';andCREATE DATABASE shop OWNER shop;. - For remote apps, set
listen_addressesinpostgresql.conf, add ascram-sha-256rule topg_hba.conf, thensystemctl restart postgresql. - Open 5432 in a CloudSat firewall only to your application servers, and schedule
pg_dumpor WAL archiving.
PostgreSQL ports
Open these in your firewall if you use one: 5432/tcp PostgreSQL (localhost until you open it).
PostgreSQL FAQ
Which PostgreSQL version should I run?
PostgreSQL 18 is the newest major release, supported until November 2030, and each major version receives fixes for five years. Check yours with psql --version and plan major upgrades with pg_upgrade.
Can I add extensions like pgvector?
Yes. Install the extension package built for your PostgreSQL version with apt, then run CREATE EXTENSION vector; in the target database. PostGIS and most others follow the same pattern.
Disclaimer. The PostgreSQL project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.