A new open-source PostgreSQL integration for UE5
About
PostgreSQL Integration Plugin for Unreal Engine 5
A lightweight plugin that enables direct PostgreSQL database access inside Unreal Engine, supporting both C++ and Blueprints.
This is a BETA version, proceed with caution.
For support, join the Discord server:
FEATURES
- Direct PostgreSQL Connectivity
- Connect Unreal Engine directly to any PostgreSQL server (local or remote).
- SSL Support
- Optional SSL connection with selectable SSL modes and optional root certificate use.
- OS Support
- Currently supports Windows only.
- (Tested on Windows 10 with UE5.2)
- Query Execution
- Run SQL commands, retrieve results, and map rows/columns easily.
- Blueprint-Friendly
- All major operations exposed as simple Blueprint nodes.
- CSV + Structured Results
- Query results can be returned both as CSV rows and structured maps.
AVAILABLE FUNCTIONS
PG_Connect(...)
Opens a connection to a PostgreSQL database with optional SSL settings.
PG_Disconnect(Connection)
Closes an active PostgreSQL connection.
PG_IsConnected(Connection)
Returns whether the connection is valid and open.
PG_ExecuteNonQuery(Connection, Sql, OutError)
Executes SQL statements that do not return rows
(INSERT, UPDATE, DELETE, CREATE, DROP).
PG_ExecuteQuery(Connection, Sql, PrimaryKeyColumn, OutRowsByPK, OutRowsCSV, OutError)
Runs a SELECT query and returns data in two formats:
- A map of rows keyed by a primary column
- An array of CSV-formatted rows
COMPATIBILITY
Precompiled Binaries
- Unreal Engine 5.2
Source Code
Should compile normally for other Unreal Engine versions.
Need precompiled binaries for another version?
Open an issue or ask on Discord.
INSTALLATION
Download from Releases:
https://github.com/GPUbrainStorm/PostgreSQLPlugin_UE5/releases
Precompiled (UE 5.2)
Place the plugin into your project's "Plugins/" folder and launch.
From Source Code (Any Version)
Copy the plugin to your "Plugins/" directory and build the project.
USAGE EXAMPLE
(Images as reference from GitHub)
image 1
https://github.com/user-attachments/assets/189f1bc8-3896-4b0c-a122-bc75f996a0d9
image 2
https://github.com/user-attachments/assets/5170e131-1944-446c-9b08-fbcdfd1c086c
image 3
https://github.com/user-attachments/assets/0c0e9957-d9d8-44a6-acf4-3abc5afc1cdc