Home
last modified time | relevance | path

Searched refs:old_db (Results 1 – 25 of 462) sorted by relevance

12345678910>>...19

/dports/databases/pgbouncer/pgbouncer-1.16.0/src/
H A Dstats.c102 reset_stats(&old_db); in admin_database_stats()
132 stat_add(&old_total, &old_db); in admin_database_stats()
134 reset_stats(&old_db); in admin_database_stats()
143 stat_add(&old_total, &old_db); in admin_database_stats()
173 reset_stats(&old_db); in admin_database_stats_totals()
199 stat_add(&old_total, &old_db); in admin_database_stats_totals()
201 reset_stats(&old_db); in admin_database_stats_totals()
210 stat_add(&old_total, &old_db); in admin_database_stats_totals()
240 reset_stats(&old_db); in admin_database_stats_averages()
268 reset_stats(&old_db); in admin_database_stats_averages()
[all …]
/dports/math/mpsolve/mpsolve-3.2.1/src/libmps/secsolve/
H A Dstandard-regeneration-driver.c21 cdpe_t * old_db = NULL; in mps_standard_regeneration_driver_update_fsecular_equation() local
34 old_db = cdpe_valloc (s->n); in mps_standard_regeneration_driver_update_fsecular_equation()
42 cdpe_set_x (old_db[i], old_b[i]); in mps_standard_regeneration_driver_update_fsecular_equation()
93 cdpe_vfree (old_db); in mps_standard_regeneration_driver_update_fsecular_equation()
110 cdpe_t * old_db = NULL; in mps_standard_regeneration_driver_update_dsecular_equation() local
121 old_db = cdpe_valloc (s->n); in mps_standard_regeneration_driver_update_dsecular_equation()
142 cdpe_set (sec->bdpc[i], old_db[i]); in mps_standard_regeneration_driver_update_dsecular_equation()
173 cdpe_vfree (old_db); in mps_standard_regeneration_driver_update_dsecular_equation()
190 cdpe_t * old_db = NULL; in mps_standard_regeneration_driver_update_msecular_equation() local
195 old_db = cdpe_valloc (s->n); in mps_standard_regeneration_driver_update_msecular_equation()
[all …]
/dports/sysutils/isc-cron/isc-cron-4.1_2/
H A Ddatabase.c42 load_database(cron_db *old_db) { in load_database() argument
72 if (old_db->mtime == TMAX(statbuf.st_mtime, syscron_stat.st_mtime)) { in load_database()
88 &new_db, old_db); in load_database()
119 &statbuf, &new_db, old_db); in load_database()
132 for (u = old_db->head; u != NULL; u = nu) { in load_database()
135 unlink_user(old_db, u); in load_database()
141 *old_db = new_db; in load_database()
181 struct stat *statbuf, cron_db *new_db, cron_db *old_db) in process_crontab() argument
228 u = find_user(old_db, fname); in process_crontab()
235 unlink_user(old_db, u); in process_crontab()
[all …]
/dports/databases/postgresql11-docs/postgresql-11.14/src/bin/pg_upgrade/
H A Dpg_upgrade.c326 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
330 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
333 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
334 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
363 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
367 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
370 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
371 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql11-plpython/postgresql-11.14/src/bin/pg_upgrade/
H A Dpg_upgrade.c326 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
330 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
333 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
334 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
363 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
367 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
370 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
371 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql11-plperl/postgresql-11.14/src/bin/pg_upgrade/
H A Dpg_upgrade.c326 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
330 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
333 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
334 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
363 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
367 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
370 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
371 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql11-server/postgresql-11.14/src/bin/pg_upgrade/
H A Dpg_upgrade.c326 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum];
330 if (strcmp(old_db->db_name, "template1") != 0)
333 pg_log(PG_STATUS, "%s", old_db->db_name);
334 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid);
363 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum];
367 if (strcmp(old_db->db_name, "template1") == 0)
370 pg_log(PG_STATUS, "%s", old_db->db_name);
371 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid);
380 if (strcmp(old_db->db_name, "postgres") == 0)
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum];
[all …]
/dports/databases/postgresql11-contrib/postgresql-11.14/src/bin/pg_upgrade/
H A Dpg_upgrade.c326 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
330 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
333 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
334 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
363 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
367 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
370 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
371 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/bin/pg_upgrade/
H A Dpg_upgrade.c326 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
330 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
333 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
334 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
363 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
367 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
370 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
371 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql11-client/postgresql-11.14/src/bin/pg_upgrade/
H A Dpg_upgrade.c326 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
330 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
333 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
334 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
363 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
367 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
370 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
371 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql12-client/postgresql-12.9/src/bin/pg_upgrade/
H A Dpg_upgrade.c329 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
333 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
336 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
337 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
366 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
370 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
373 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
374 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
383 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
706 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/bin/pg_upgrade/
H A Dpg_upgrade.c328 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
332 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
335 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
336 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
364 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
368 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
371 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
372 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql14-plperl/postgresql-14.1/src/bin/pg_upgrade/
H A Dpg_upgrade.c328 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
332 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
335 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
336 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
364 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
368 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
371 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
372 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql14-server/postgresql-14.1/src/bin/pg_upgrade/
H A Dpg_upgrade.c328 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
332 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
335 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
336 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
364 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
368 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
371 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
372 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql14-docs/postgresql-14.1/src/bin/pg_upgrade/
H A Dpg_upgrade.c328 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
332 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
335 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
336 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
364 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
368 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
371 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
372 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql14-plpython/postgresql-14.1/src/bin/pg_upgrade/
H A Dpg_upgrade.c328 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
332 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
335 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
336 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
364 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
368 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
371 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
372 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/bin/pg_upgrade/
H A Dpg_upgrade.c332 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
336 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
339 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
340 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
368 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
372 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
375 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
376 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
384 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
707 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql14-client/postgresql-14.1/src/bin/pg_upgrade/
H A Dpg_upgrade.c328 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
332 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
335 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
336 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
364 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
368 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
371 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
372 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql13-server/postgresql-13.5/src/bin/pg_upgrade/
H A Dpg_upgrade.c332 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum];
336 if (strcmp(old_db->db_name, "template1") != 0)
339 pg_log(PG_STATUS, "%s", old_db->db_name);
340 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid);
368 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum];
372 if (strcmp(old_db->db_name, "template1") == 0)
375 pg_log(PG_STATUS, "%s", old_db->db_name);
376 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid);
384 if (strcmp(old_db->db_name, "postgres") == 0)
707 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum];
[all …]
/dports/databases/postgresql14-contrib/postgresql-14.1/src/bin/pg_upgrade/
H A Dpg_upgrade.c328 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
332 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
335 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
336 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
364 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
368 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
371 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
372 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
380 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
703 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql12-plperl/postgresql-12.9/src/bin/pg_upgrade/
H A Dpg_upgrade.c329 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
333 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
336 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
337 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
366 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
370 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
373 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
374 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
383 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
706 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql13-contrib/postgresql-13.5/src/bin/pg_upgrade/
H A Dpg_upgrade.c332 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
336 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
339 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
340 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
368 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
372 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
375 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
376 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
384 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
707 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql12-server/postgresql-12.9/src/bin/pg_upgrade/
H A Dpg_upgrade.c329 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
333 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
336 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
337 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
366 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
370 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
373 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
374 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
383 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
706 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql12-pltcl/postgresql-12.9/src/bin/pg_upgrade/
H A Dpg_upgrade.c329 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
333 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
336 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
337 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
366 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
370 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
373 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
374 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
383 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
706 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]
/dports/databases/postgresql13-docs/postgresql-13.5/src/bin/pg_upgrade/
H A Dpg_upgrade.c332 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
336 if (strcmp(old_db->db_name, "template1") != 0) in create_new_objects()
339 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
340 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
368 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in create_new_objects() local
372 if (strcmp(old_db->db_name, "template1") == 0) in create_new_objects()
375 pg_log(PG_STATUS, "%s", old_db->db_name); in create_new_objects()
376 snprintf(sql_file_name, sizeof(sql_file_name), DB_DUMP_FILE_MASK, old_db->db_oid); in create_new_objects()
384 if (strcmp(old_db->db_name, "postgres") == 0) in create_new_objects()
707 DbInfo *old_db = &old_cluster.dbarr.dbs[dbnum]; in cleanup() local
[all …]

12345678910>>...19