Changeset View
Changeset View
Standalone View
Standalone View
src/migration/postgresql/PostgresqlMigrate.cpp
Show All 23 Lines | |||||
24 | #include <KPluginFactory> | 24 | #include <KPluginFactory> | ||
25 | 25 | | |||
26 | /* This is the implementation for the specific import routines. */ | 26 | /* This is the implementation for the specific import routines. */ | ||
27 | KEXI_PLUGIN_FACTORY(PostgresqlMigrate, "keximigrate_postgresql.json") | 27 | KEXI_PLUGIN_FACTORY(PostgresqlMigrate, "keximigrate_postgresql.json") | ||
28 | 28 | | |||
29 | PostgresqlMigrate::PostgresqlMigrate(QObject *parent, const QVariantList& args) | 29 | PostgresqlMigrate::PostgresqlMigrate(QObject *parent, const QVariantList& args) | ||
30 | : KexiSqlMigrate(QLatin1String("org.kde.kdb.postgresql"), parent, args) | 30 | : KexiSqlMigrate(QLatin1String("org.kde.kdb.postgresql"), parent, args) | ||
31 | { | 31 | { | ||
32 | m_tableNamesSql = KDbEscapedString("SELECT table_name FROM information_schema.tables WHERE table_type = 'BASE TABLE' AND table_schema NOT IN ('pg_catalog', 'information_schema')"); | | |||
33 | } | 32 | } | ||
34 | 33 | | |||
35 | PostgresqlMigrate::~PostgresqlMigrate() | 34 | PostgresqlMigrate::~PostgresqlMigrate() | ||
36 | { | 35 | { | ||
37 | } | 36 | } | ||
38 | 37 | | |||
39 | #include "PostgresqlMigrate.moc" | 38 | #include "PostgresqlMigrate.moc" |