# PgClient interface · @imqueue/pg-pubsub

Source: https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.pgclient/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-pubsub 3.0.5 — generated reference, not hand-written

Extends `pg.Client` with additional properties

**Signature:**

```typescript
export interface PgClient extends Client 
```
**Extends:** Client

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [appName](https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.pgclient.appname/) |  | string | 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. |

