+ LOG.warning('Checking database')
+ from ..tools import check_database
+ return check_database.check_database(args.config)
+
+ if args.analyse_indexing:
+ LOG.warning('Analysing performance of indexing function')
+ from ..tools import admin
+ with connect(args.config.get_libpq_dsn()) as conn:
+ admin.analyse_indexing(conn, osm_id=args.osm_id, place_id=args.place_id)