A Node-RED node for querying PostgreSQL databases. Version 0.3.7 is current and maintained, with moderate release cadence. It replaces the original node by Kris Daniels to ensure compatibility with latest Node-RED versions. Key differentiator: supports template-based queries using msg.queryParameters with $propertyName substitution, and offers row-by-row output via 'One message per row' option. Allows connection string configuration.
npm install node-red-contrib-re-postgresNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Node-RED flow with inject node providing query parameters, PostgreSQL node executing the query, and debug showing result.
Ensure msg.queryParameters is a flat object. Use dot notation? Not supported; use $propertyName only.
Use $propertyName syntax; do not use $1, $2.
Uninstall the original node if using this one.
Run 'npm install pg' in your Node-RED directory.
Ensure PostgreSQL is running and connection string is correct.
Check table name and schema; use schema.table format.