postgres library
Classes
- ColumnDescription
- A description of a column.
- DecodingSettings
- Options for decoding values received from the server.
- LSN
- LSN is a PostgreSQL Log Sequence Number.
- Notification
- Represents a notification from PostgreSQL.
- PgCopy
-
Conversão de linhas para o formato texto do
COPY(e de volta). - PgDecimal
-
Número decimal de precisão arbitrária, equivalente ao tipo
numericdo PostgreSQL (inclusiveNaN,Infinitye-Infinity). - PgErrorCode
- Códigos SQLSTATE comuns do PostgreSQL, para comparar com PostgreSQLException.code sem depender do texto da mensagem.
- PgInet
-
Valor dos tipos
inetecidr: endereço IPv4/IPv6 com tamanho de prefixo (máscara). - PgInterval
-
Valor do tipo
intervaldo PostgreSQL, sem perda de informação. - PgPoint
-
Describes PostgreSQL's geometric type:
point. - PgRetryOptions
-
Opções de nova tentativa (
run/runTxda API v3 e dePostgreSQLPool). - PgTime
-
Valor do tipo
time(hora do dia, sem fuso), com precisão de microssegundos. Aceita de00:00:00a24:00:00. - PgTimeTz
-
Valor do tipo
timetz(hora do dia com deslocamento de fuso). - PlaceholderIdentifier
- placeholder Identifier
- PoolStatus
- Estado de um pool num instante.
- PostgreSQLConnection
- Instances of this class connect to and communicate with a PostgreSQL database.
- PostgreSQLExecutionContext
- PostgreSQLFormat
- PostgreSQLPool
- Pool de conexões PostgreSQLConnection.
- PostgreSQLPoolSettings
- Configuração de um PostgreSQLPool.
- PostgreSQLResult
- The query result.
- PostgreSQLResultRow
- A single row of a query result.
- PostgresTextEncodable
- Valor que sabe se representar no formato de texto de entrada do PostgreSQL, para ser usado como parâmetro de consulta.
- TimeZoneSettings
- A class to configure time zone settings for decoding timestamps and dates.
Enums
- ExtendedTypeDecoding
-
How values of the types
time,timetz,inet,cidrandpoint(and arrays of them) are decoded. - IntervalDecoding
-
How values of type
intervalare decoded. - NumericDecoding
-
How values of type
numeric(andnumeric[]) are decoded. - PgRoundingMode
- Modo de arredondamento de PgDecimal.round, PgDecimal.divide e PgDecimal.rescale.
- PgSslMode
- SSL/TLS usage when connecting.
- PostgreSQLSeverity
- The severity level of a PostgreSQLException.
- ReplicationMode
- Streaming Replication Protocol Options
- TimestampDecoding
-
How values of the types
timestamp(without time zone) anddateare decoded. - TimeZoneDatabaseVariant
-
Which embedded time zone database is used to decode
timestamptzvalues when TimeZoneSettings.forceDecodeTimestamptzAsUTC is false.
Extensions
- PgCopyExecutionContext on PostgreSQLExecutionContext
- COPY em qualquer PostgreSQLExecutionContext de uma PostgreSQLConnection, inclusive o contexto recebido em PostgreSQLConnection.transaction. Os métodos estão documentados em PostgreSQLConnection.copyFrom, PostgreSQLConnection.copyTo e PostgreSQLConnection.copyRows.
- PgQueryStreamExecutionContext on PostgreSQLExecutionContext
- queryStream em qualquer PostgreSQLExecutionContext de uma PostgreSQLConnection, inclusive o contexto recebido em PostgreSQLConnection.transaction (ver PostgreSQLConnection.queryStream).
- PgSavepointExecutionContext on PostgreSQLExecutionContext
- Savepoints dentro de PostgreSQLConnection.transaction.
Typedefs
Exceptions / Errors
- PostgreSQLException
- Exception thrown by PostgreSQLConnection instances.
- PostgreSQLRollback
- Represents a rollback from a transaction.