# File lib/dbd/pg/database.rb, line 272 272: def commit 273: if @in_transaction 274: _exec("COMMIT") 275: @in_transaction = false 276: else 277: # TODO: Warn? 278: end 279: end