Red Hat Database Extensions to the JDBC API

Red Hat Database is an extensible database system that is based on PostgreSQL. You can add your own functions and data types to the backend. These facilities, which are unique to PostgreSQL, are supported from Java with a set of extension APIs.

All extensions are found within the org.postgresql package, typically as sub-packages. The list below gives the available packages and gives a short description of each.

org.postgresql

Contains Red Hat Database's implementation of java.sql.Connection, which includes additional methods that provide access to other extensions including Fastpath and LargeObjectManager.

org.postgresql.fastpath

Includes the Fastpath and FastpathArg classes. These classes are a Java implementation of the libpq Fastpath mechanism, which enables backend functions to be executed by clients.

org.postgresql.largeobject

Consists of two classes, LargeObjectManager, which deals with creating, opening and deleting large objects, and LargeObject, which deals with an individual object.

org.postgresql.util

Contains the Serializable, PGobject, and PGmoney classes as well as the utility classes PGtokenizer and UnixCrypt.

org.postgresql.geometric

Red Hat Database has a set of data types that allow for the storage of geometric features in a table. These include points, lines, and polygons. These types are supported in Java through the org.postgresql.geometric package. It contains classes that extend the org.postgresql.util.PGobject class.