vertx / io.vertx.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 `#createShared(io.vertx.core.Vertx, JsonObject, String)` but with the default pool name

### Parameters

`vertx` - the Vert.x instance

`config` - the configuration

Return
the client