---
url: >-
  https://node-ts.github.io/bus/api/bus-postgres/interfaces/PostgresConfiguration.md
---
[API reference](../../index.md) / [@node-ts/bus-postgres](../index.md) / PostgresConfiguration

# Interface: PostgresConfiguration

Defined in: [packages/bus-postgres/src/postgres-configuration.ts:6](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-postgres/src/postgres-configuration.ts#L6)

Provides configuration for creating and configuring a postgres pool

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
| <a id="property-connection"></a> `connection` | `PoolConfig` | Connection pool settings for the application to connect to the postgres instance | [packages/bus-postgres/src/postgres-configuration.ts:10](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-postgres/src/postgres-configuration.ts#L10) |
| <a id="property-schemaname"></a> `schemaName` | `string` | The schema name to create workflow tables under. This can be the 'public' default from postgres, but it's recommended to use 'workflows' or something similar to group all workflow concerns in the one place. This schema will be created if it doesn't already exist. | [packages/bus-postgres/src/postgres-configuration.ts:17](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-postgres/src/postgres-configuration.ts#L17) |
