PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
bool | jsonb_9_4_check_applicable (ClusterInfo *cluster) |
void | old_9_6_invalidate_hash_indexes (ClusterInfo *cluster, bool check_mode) |
static void | process_extension_updates (DbInfo *dbinfo, PGresult *res, void *arg) |
void | report_extension_updates (ClusterInfo *cluster) |
bool jsonb_9_4_check_applicable | ( | ClusterInfo * | cluster | ) |
Definition at line 21 of file version.c.
References cluster(), GET_MAJOR_VERSION, and JSONB_FORMAT_CHANGE_CAT_VER.
void old_9_6_invalidate_hash_indexes | ( | ClusterInfo * | cluster, |
bool | check_mode | ||
) |
Definition at line 37 of file version.c.
References appendPsqlMetaConnect(), check_ok(), cluster(), conn, connectToServer(), PQExpBufferData::data, DbInfo::db_name, executeQueryOrDie(), fopen_priv, fprintf, initPQExpBuffer(), pg_fatal, pg_log(), PG_WARNING, PQclear(), PQfinish(), PQfnumber(), PQgetvalue(), PQntuples(), prep_status(), quote_identifier(), report_status(), res, and termPQExpBuffer().
Referenced by check_and_dump_old_cluster(), and issue_warnings_and_set_wal_level().
Definition at line 148 of file version.c.
References appendPsqlMetaConnect(), arg, AssertVariableIsOfType, PQExpBufferData::data, dbinfo, UpgradeTaskReport::file, fopen_priv, fprintf, initPQExpBuffer(), UpgradeTaskReport::path, pg_fatal, PQfnumber(), PQgetvalue(), PQntuples(), quote_identifier(), res, and termPQExpBuffer().
Referenced by report_extension_updates().
void report_extension_updates | ( | ClusterInfo * | cluster | ) |
Definition at line 179 of file version.c.
References check_ok(), cluster(), UpgradeTaskReport::file, UpgradeTaskReport::path, pg_log(), PG_REPORT, prep_status(), process_extension_updates(), report_status(), upgrade_task_add_step(), upgrade_task_create(), upgrade_task_free(), and upgrade_task_run().
Referenced by issue_warnings_and_set_wal_level().