public async Task <NpgsqlDatabaseInfo> Load(NpgsqlConnection conn, NpgsqlTimeout timeout, bool async) { var db = new PostgresDatabaseInfo(); await db.LoadPostgresInfo(conn, timeout, async); return(db); }
/// <inheritdoc /> public async Task <NpgsqlDatabaseInfo?> Load(NpgsqlConnection conn, NpgsqlTimeout timeout, bool async) { var db = new PostgresDatabaseInfo(conn); await db.LoadPostgresInfo(conn, timeout, async); Debug.Assert(db.LongVersion != null); return(db); }