Class SchemaChecker.

Inherits EventHandler

The SchemaChecker class runs a number of sanity checks against the database schema, and notes anything wrong. It uses the pg_* tables and a number of automatically generated files based on the current Archiveopteryx schema.

SchemaChecker doesn't report errors; it permits any deviation. It just reports differences.

SchemaChecker::SchemaChecker( Transaction * t )

Constructs a SchemaChecker to work using a subtransaction of t.

void SchemaChecker::checkColumns()

Checks that the columns we ought to have match those we found in the db.

void SchemaChecker::enqueue()

Sends all the queries.

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.