DatabaseImportHelper implementation checkpoint.

Minor fix on opclass, operator and opfamily catalog queries.