lib/fluent/plugin/in_sql.rb in fluent-plugin-sql-1.0.0 vs lib/fluent/plugin/in_sql.rb in fluent-plugin-sql-1.1.1
- old
+ new
@@ -37,10 +37,12 @@
config_param :username, :string, default: nil
desc 'RDBMS login password'
config_param :password, :string, default: nil, secret: true
desc 'RDBMS socket path'
config_param :socket, :string, default: nil
+ desc 'PostgreSQL schema search path'
+ config_param :schema_search_path, :string, default: nil
desc 'path to a file to store last rows'
config_param :state_file, :string, default: nil
desc 'prefix of tags of events. actual tag will be this_tag_prefix.tables_tag (optional)'
config_param :tag_prefix, :string, default: nil
@@ -174,9 +176,10 @@
port: @port,
database: @database,
username: @username,
password: @password,
socket: @socket,
+ schema_search_path: @schema_search_path,
}
# creates subclass of ActiveRecord::Base so that it can have different
# database configuration from ActiveRecord::Base.
@base_model = Class.new(ActiveRecord::Base) do