vertx / io.vertx.rxjava.ext.asyncsql / PostgreSQLClient / createShared

# createShared

`open static fun createShared(vertx: Vertx, config: JsonObject, poolName: String): AsyncSQLClient`

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

### Parameters

`vertx` - the Vert.x instance

`config` - the configuration

`poolName` - the pool name

Return
the client

`open static fun createShared(vertx: Vertx, config: JsonObject): AsyncSQLClient`

Like `io.vertx.rxjava.ext.asyncsql.PostgreSQLClient#createShared` but with the default pool name

### Parameters

`vertx` - the Vert.x instance

`config` - the configuration

Return
the client