All Classes and Interfaces
Class
Description
This class holds all of the methods common to both Blobs and Clobs.
The main purpose of this class is to handle adaptive fetching process.
Implement this interface and register the its instance to ArrayAssistantRegistry, to let Postgres
driver to support more array type.
Array assistants register here.
Driver-internal connection interface.
Base class for data sources and related classes.
Driver-internal statement interface.
Purpose of this object is to support batched query re write behaviour.
Internal class, it is not a part of public API.
This is an implementation of an InputStream from a large object.
This implements a basic output stream that writes to a LargeObject.
A
ByteStreamWriter
that writes a java.nio.ByteBuffer
to a byte array
parameter.Helper methods to parse java base types from byte arrays.
A class that can be used to set a byte array parameter by writing to an OutputStream.
Provides a target to write bytes to.
Stores information on the parsed JDBC query.
Candidate host to be connected.
Fluent interface for specify common parameters for create Logical and Physical replication slot.
Fluent interface for specify common parameters for Logical and Physical replication.
Fluent interface for specify common parameters for Logical and Physical replication.
Logical replication slot specific parameters.
Physical replication slot specific parameters.
Start point for fluent API that build replication stream(logical or physical).
Parses
oid
and rows
from a CommandComplete (B)
message (end of Execute).Common parameters for logical and physical replication.
Handles protocol-specific connection setup.
ConnectionFactory implementation for version 3 (7.4+) connections.
Deprecated.
Bidirectional via copy stream protocol.
Copy bulk data from client into a PostgreSQL table very fast.
COPY FROM STDIN operation.
API for PostgreSQL COPY bulk data transfer.
Exchange bulk data between client and PostgreSQL database tables.
Anticipated flow of a COPY TO STDOUT operation:
Socket factory that uses Java's default truststore to validate server certificate.
Default implementation of PGXmlFactoryFactory that configures each factory per OWASP recommendations.
The Java SQL framework allows for multiple database drivers.
Utility class with constants of Driver information.
Representation of a particular character encoding.
Predicts encoding for error messages based on some heuristics.
In certain cases the encoding is not known for sure (e.g.
Deprecated.
This class stores supported escaped function.
Specifies whether a SELECT/CALL statement is used for the underlying SQL for JDBC escape call syntax: 'select' means to
always use SELECT, 'callIfNoReturn' means to use CALL if there is no return parameter (otherwise use SELECT), and 'call' means
to always use CALL.
Deprecated.
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call.
Deprecated.
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call.
This is an internal class to hold field metadata info like table name, column name, etc.
A stream that refuses to write more than a maximum number of bytes.
Keeps track of HostSpec targets in a global map.
This class provides a wrapper around a gettext message catalog that can provide a localized
version of error messages.
Lists connections in preferred order.
Chooses a
HostChooser
instance based on the number of hosts and properties.Describes the required server type.
Simple container for host and port.
Known state of a server.
A specialized class to store a list of
int
values, so it does not need auto-boxing.Use Waffle-JNI to support SSPI authentication when PgJDBC is running on a Windows
client and talking to a Windows server.
Deprecated.
Please use
PGConnectionPoolDataSource
Deprecated.
Since 42.0.0, see
PGPoolingDataSource
Deprecated.
Please use
PGSimpleDataSource
Contains parse flags from
Parser.modifyJdbcCall(String, boolean, int, int, EscapeSyntaxCallMode)
.This class provides the basic methods required to run the interface, plus a pair of methods that
provide InputStream and OutputStream classes for this object.
This class implements the large object interface to org.postgresql.
LazyCleaner is a utility class that allows to register objects for deferred cleanup.
A Key manager that only loads the keys, if necessary.
Deprecated.
prefer
LibPQFactory
Provide an SSLSocketFactory that is compatible with the libpq behaviour.
A CallbackHandler that reads the password from the console or returns the password given to its
constructor.
LSN (Log Sequence Number) data which is a pointer to a location in the XLOG.
Caches values in simple least-recently-accessed order.
When the entry is not present in cache, this create action is used to create one.
Action that is invoked when the entry is removed from the cache.
MD5-based utility function to obfuscate passwords before network transmission.
Represents a query that is ready for execution by backend.
Provide a SSLSocketFactory that allows SSL connections to be made without validating the server's
certificate.
Error handler that silently suppresses all errors.
The methods in this class allow to cast nullable reference to a non-nullable one.
Optimised byte[] to number parser.
Helper class to instantiate objects.
Provides constants for well-known backend OIDs for the types we commonly use.
Operating system specifics
Abstraction of a list of parameters to be substituted into a Query.
Basic query parser infrastructure.
Array is used collect one column of query result data.
PGBinaryObject is a interface that classes extending
PGobject
can use to take advantage
of more optimal binary encoding of the data type.This represents the box datatype within org.postgresql.
This class is an OSGi Bundle Activator and should only be used internally by the OSGi Framework.
Converts to and from the postgresql bytea datatype used by the backend.
This represents org.postgresql's circle datatype, consisting of a point and a radius.
This interface defines the public PostgreSQL extensions to java.sql.Connection.
PostgreSQL implementation of ConnectionPoolDataSource.
InputStream for reading from a PostgreSQL COPY TO STDOUT operation.
OutputStream for buffered input into a PostgreSQL COPY FROM STDIN operation.
This factory service is designed to be used in OSGi Enterprise environments to create and
configure JDBC data-sources.
Some environment variables are intended to have same meaning as libpq describes here:
https://www.postgresql.org/docs/current/libpq-envars.html
This implements a class that handles the PostgreSQL interval type.
This implements a line represented by the linear equation Ax + By + C = 0.
This implements a lseg (line segment) consisting of two points.
This implements a class that handles the PostgreSQL money and cash types.
This interface defines the public PostgreSQL extension for Notifications.
PGobject is a class used to describe unknown types An unknown type is any type that is unknown by
JDBC Standards.
Returns a DataSource-ish thing based on a JNDI reference.
helps to read Password File.
This implements a path (a multiple segmented line, which may be closed).
It maps to the point datatype in org.postgresql.
This implements the polygon datatype within PostgreSQL.
PostgreSQL implementation of the PooledConnection interface.
Deprecated.
Since 42.0.0, instead of this class you should use a fully featured connection pool
like HikariCP, vibur-dbcp, commons-dbcp, c3p0, etc.
All connection parameters that can be either set in JDBC URL, in Driver properties or in
datasource setters.
routines to support PG properties
Deprecated.
As of 8.0, this interface is only present for backwards- compatibility purposes.
Api available only if connection was create with required for replication properties:
PGProperty.REPLICATION
and PGProperty.ASSUME_MIN_SERVER_VERSION
.Not tread safe replication stream (though certain methods can be safely called by different
threads).
helps to read Connection Service File.
Simple DataSource which does not perform connection pooling.
This interface defines the public PostgreSQL extensions to java.sql.Statement.
Wrapper around the raw connection to the server that implements some basic primitives
(reading/writing formatted data, doing string encoding, etc).
This class augments the Java built-in Time to allow for explicit setting of the time zone.
This class augments the Java built-in Timestamp to allow for explicit setting of the time zone.
This class is used to tokenize the text output of org.postgres.
The PostgreSQL implementation of
XAResource
.XA-enabled DataSource implementation.
An ObjectFactory implementation for PGXADataSource-objects.
A convenience subclass of
XAException
which makes it easy to create an instance of
XAException
with a human-readable message, a Throwable
cause, and an XA
error code.Deprecated.
Since 42.0.0, see
PGPoolingDataSource
Specifies which mode is used to execute queries to database: simple means ('Q' execute, no parse, no bind, text mode only),
extended means always use bind/execute messages, extendedForPrepared means extended for prepared statements only.
Represents a provider of results.
This class is used for holding SQLState codes.
Abstraction of a generic Query, hiding the details of any protocol-version-specific data needed
to execute the query efficiently.
Abstracts the protocol-specific details of executing a query.
The action performs connection cleanup, so it is properly terminated from the backend
point of view.
QueryExecutor implementation for the V3 protocol.
ReaderInputStream accepts a UTF-16 char stream (Reader) as input and
converts it to a UTF-8 byte stream (InputStream) as output.
Abstracts the protocol-specific details of physic and logic replication.
Information returned on replication slot creation.
Extends a ReentrantLock for use in try-with-resources block.
Abstraction of a cursor over a returned resultset.
Callback interface for passing query results from the protocol-specific layer to the
protocol-independent JDBC implementation code.
Empty implementation of
ResultHandler
interface.Internal to the driver class, please do not use in the application.
Helper class that storing result info.
Enumeration for PostgreSQL versions.
Poor man's Statement & ResultSet, used for initial queries while we're still initializing the
system.
Deprecated.
Please use
PGSimpleDataSource
Provides a SSLSocketFactory that authenticates the remote server against an explicit pre-shared
SSL certificate.
Instantiates
SocketFactory
based on the PGProperty.SOCKET_FACTORY
.Data Modification Language inspection support.
Type information inspection support.
Use Waffle-JNI to support SSPI authentication when PgJDBC is running on a Windows client and
talking to a Windows server.
Wrapper around a length-limited InputStream.
Misc utils for handling time and date values.
Class representing a row in a
ResultSet
.This class helps with URL encoding and decoding.
Collection of utilities used by the protocol-level code.
A faster version of BufferedInputStream.
Provide a wrapper to a real SSLSocketFactory delegating all calls to the contained instance.
PGConnectionPoolDataSource