postgres_writer

class mysql2pgsql.lib.postgres_writer.PostgresWriter

Base class for mysql2pgsql.lib.postgres_file_writer.PostgresFileWriter and mysql2pgsql.lib.postgres_db_writer.PostgresDbWriter.

close()
column_description(column)
column_type(column)
column_type_info(column)
process_row(table, row)

Examines row data from MySQL and alters the values when necessary to be compatible with sending to PostgreSQL via the copy command

table_attributes(table)
truncate(table)
write_constraints(table)
write_contents(table, reader)
write_indexes(table)
write_table(table)

Previous topic

postgres_file_writer

Next topic

py-mysql2pgsql Changelog

This Page