DBIx::Compare::Pg - Compare PostgreSQL database content


DBIx-Compare documentation  | view source Contained in the DBIx-Compare distribution.

Index


NAME

Top

DBIx::Compare::Pg - Compare PostgreSQL database content

SYNOPSIS

Top

	use DBIx::Compare::Pg;

	my $oDB_Comparison = db_comparison->new($dbh1,$dbh2);
	$oDB_Comparison->verbose;
	$oDB_Comparison->compare;
	$oDB_Comparison->deep_compare;
	$oDB_Comparison->deep_compare(@aTable_Names);   

DESCRIPTION

Top

DBIx::Compare::Pg takes two PostgreSQL database handles and performs comparisons of their table content. See DBIx::Compare for more information.

PORTING NOTES

Top

deep_compare, deep_compare(@aTables)

Use is made of CURSORs to avoid triggering an OOM condition due to libpq's buffering behaviour when comparing tables larger than physical memory.

get_tables

All non-system schemata are searched. Some (hopefully) sensible decisions are made concerning skipping possible Slony schemata (beginning with "_"). Likewise the information schema is passed over.

SEE ALSO

Top

DBIx::Compare

AUTHOR

Top

Christopher Jones, Gynaecological Cancer Research Laboratories, UCL EGA Institute for Women's Health, University College London.

c.jones@ucl.ac.uk

This particular module has seen some hacking from;

Mark Kirkwood, Catalyst IT Limited, New Zealand.

mark.kirkwood@gmail.com

COPYRIGHT AND LICENSE

Top


DBIx-Compare documentation  | view source Contained in the DBIx-Compare distribution.