# Module: vertx-mysql-postgresql-js/postgre_sql_client

### Classes

PostgreSQLClient

### Methods

#### (static) PostgreSQLClient.createNonShared(vertx, config) → {AsyncSQLClient}

Create a PostgreSQL client which maintains its own pool.

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the Vert.x instance
`config` | Object | the configuration

Source:
  - vertx-mysql-postgresql-js/postgre_sql_client.js, line 94

##### Returns:

the client

Type
  AsyncSQLClient

#### (static) PostgreSQLClient.createShared(vertx, config, poolName) → {AsyncSQLClient}

Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool name.

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the Vert.x instance
`config` | Object | the configuration
`poolName` | string | the pool name

Source:
  - vertx-mysql-postgresql-js/postgre_sql_client.js, line 110

##### Returns:

the client

Type
  AsyncSQLClient