porsager / postgres

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare
The Unlicense
7.09k stars 259 forks source link

Adding PGAPPNAME Environment Variable #912

Open gimse opened 2 weeks ago

gimse commented 2 weeks ago

Making it possible to set the application_name with the PGAPPNAME environment variable. This is a standard set by the Postgres team (https://www.postgresql.org/docs/current/libpq-envars.html).

It is a nice to have feature, and makes it easier to transition from the pg package 🔢 😊

porsager commented 2 weeks ago

Ah - this is great - thanks.. If you just remove the changelog line, I'll merge and add it once I cut a release.

gimse commented 2 weeks ago

Ah - this is great - thanks.. If you just remove the changelog line, I'll merge and add it once I cut a release.

Done :)