Changing iotlabpostgres to remove global variable iotlab_dbsession