vertx / io.vertx.ext.asyncsql / PostgreSQLClient

# PostgreSQLClient

`interface PostgreSQLClient : AsyncSQLClient`

Represents an PostgreSQL client

Author
Joern Bernhardt.

Author
Tim Fox

### Properties

DEFAULT_CHARSET | `static val DEFAULT_CHARSET: String` The default charset.
DEFAULT_CONNECT_TIMEOUT | `static val DEFAULT_CONNECT_TIMEOUT: Long` The default timeout for connect.
DEFAULT_DATABASE | `static val DEFAULT_DATABASE: String` The default database name.
DEFAULT_DS_NAME | `static val DEFAULT_DS_NAME: String` The default name used for the PostGreSQL pool.
DEFAULT_HOST | `static val DEFAULT_HOST: String` The default host.
DEFAULT_PASSWORD | `static val DEFAULT_PASSWORD: String` The default user password.
DEFAULT_PORT | `static val DEFAULT_PORT: Int` The default port.
DEFAULT_TEST_TIMEOUT | `static val DEFAULT_TEST_TIMEOUT: Long` The default timeout for tests.
DEFAULT_USER | `static val DEFAULT_USER: String` The default database user.

### Functions

createNonShared | `open static fun createNonShared(vertx: Vertx, config: JsonObject): AsyncSQLClient` Create a PostgreSQL client which maintains its own pool.
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. `open static fun createShared(vertx: Vertx, config: JsonObject): AsyncSQLClient` Like `#createShared(io.vertx.core.Vertx, JsonObject, String)` but with the default pool name