alexandrainst / node-red-contrib-postgresql

Node-RED node for PostgreSQL, supporting parameters, split, back-pressure
https://flows.nodered.org/node/node-red-contrib-postgresql
Apache License 2.0
32 stars 13 forks source link

How to globally set the application name? #23

Closed ondics closed 2 years ago

ondics commented 2 years ago

In the version 0.9.0 the application name can be set for each node using

msg.pgConfig = {
  application_name?: string,
}

But how to set the application name globally over all nodes. In the server settings of the postgresql-node there is no field "application name".

Alkarex commented 2 years ago

Ok, I have to admit that this is not something I have been using myself in PostgreSQL, but I will expose it in the global parameters (or PR welcome).

References:

Alkarex commented 2 years ago

@ondics Would you be able to try https://github.com/alexandrainst/node-red-contrib-postgresql/pull/24 ?

TimoB2005 commented 2 years ago

It worked. Thank you!

Alkarex commented 2 years ago

New release https://github.com/alexandrainst/node-red-contrib-postgresql/releases/tag/v0.10.1 Tests welcome