A storage module for Node-RED that replaces the default filesystem-based persistence with a PostgreSQL database. Version 1.0.1 is the current stable release, maintained by WeekendWarrior1. It creates two tables (`nodered` and `noderedlibrary`) to store flows, credentials, and settings. It supports optional schema configuration and auto-install of modules on start-up. Designed for production deployments requiring centralized state, disaster recovery, and team collaboration. Older than alternatives like `node-red-contrib-storage-s3`, it has limited feature coverage (no sessions or projects) and relies on the Node-RED Storage API.
npm install node-red-contrib-storagemodule-postgresNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures Node-RED to use PostgreSQL for flow persistence instead of filesystem. Sets the storage module, database URI, optional schema, auto-install, and userDir.
Use an alternative storage module if you need session or project support.
Monitor logs carefully or contribute a fix to throw errors.
Set up logging externally or wrap the module.
Ensure URI starts with 'postgres://'.
Run 'npm install node-red-contrib-storagemodule-postgres' in the .node-red folder.
Ensure the PostgreSQL user has CREATE TABLE privileges and that the tables are created on startup.
Verify postgresURI and network connectivity; ensure PostgreSQL is running.
Update postgresURI with valid username and password.
No dependency data recorded yet.