set PostgreSQL connection variable "application_name" on ActiveRecord connection.