17class DbConfigPostgresql :
public DbConfig
23 explicit DbConfigPostgresql() =
default;
28 explicit DbConfigPostgresql(
const QString &configFile);
33 QString driverName()
const override;
38 QString databaseName()
const override;
43 QString databasePath()
const override;
57 bool init(
QSettings &settings,
bool storeSettings =
true,
const QString &dbPathOverride = {})
override;
64 bool isAvailable(
QSettings &settings)
override;
75 bool useInternalServer()
const override;
80 bool startInternalServer()
override;
85 void stopInternalServer()
override;
88 bool disableConstraintChecks(
const QSqlDatabase &db)
override;
91 bool enableConstraintChecks(
const QSqlDatabase &db)
override;
98 int clusterVersion = 0;
99 int pgServerVersion = 0;
101 std::optional<Versions> checkPgVersion()
const;
102 bool upgradeCluster(
int clusterVersion);
103 bool runInitDb(
const QString &dbDataPath);
105 bool checkServerIsRunning();
117 bool mInternalServer =
true;
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:30 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.