src/Pure/Tools/build_process.scala
changeset 78577 a945b541efff
parent 78575 ff86f10e54cd
child 78585 cf114894a5ed
equal deleted inserted replaced
78576:2baa77e37406 78577:a945b541efff
   836     catch { case exn: Throwable => close(); throw exn }
   836     catch { case exn: Throwable => close(); throw exn }
   837 
   837 
   838   private val _build_database: Option[SQL.Database] =
   838   private val _build_database: Option[SQL.Database] =
   839     try {
   839     try {
   840       for (db <- store.maybe_open_build_database(server = server)) yield {
   840       for (db <- store.maybe_open_build_database(server = server)) yield {
       
   841         if (!db.is_postgresql) {
       
   842           error("Required PostgreSQL for cluster build (option database_server)")
       
   843         }
   841         val store_tables = db.is_postgresql
   844         val store_tables = db.is_postgresql
   842         Build_Process.private_data.transaction_lock(db,
   845         Build_Process.private_data.transaction_lock(db,
   843           create = true,
   846           create = true,
   844           label = "Build_Process.build_database"
   847           label = "Build_Process.build_database"
   845         ) {
   848         ) {