PgClient.appName property

Value PostgreSQL reports as application_name for this connection.

Load-bearing rather than cosmetic: the lock's liveness check looks the holder up in pg_stat_activity BY this name to decide whether it is still alive, so two processes sharing an appName cannot be told apart, and a blank one defeats the check.

Signature:

appName: string;

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.