relstorage.adapters.oracle.schema – Database schema installers#

Database schema installers

class OracleSchemaInstaller(connmanager, runner, keep_history)[source]#

Bases: AbstractSchemaInstaller

create_procedures(cursor)[source]#

Subclasses should override

install_package(cursor)[source]#

Install the package containing stored procedures

list_packages(cursor)[source]#

List installed stored procedure packages.

Returns {package name: version}. version may be None.

list_procedures(cursor)#

List installed stored procedure packages.

Returns {package name: version}. version may be None.

COLTYPE_BINARY_STRING = 'RAW(2000)'#

The type of the column used to hold binary strings. Our default is appropriate for PostgreSQL.

COLTYPE_BLOB_CHUNK = 'BLOB'#

The type of the column used to store blob chunks.

COLTYPE_BLOB_CHUNK_NUM = 'NUMBER(20)'#

The type of the column used to number blob chunks.

COLTYPE_OID_TID = 'NUMBER(20)'#

The type of the column used to hold transaction IDs and object IDs (64-bit integers).