FEATURE: allow users to specify if prepared statements are allowed
(they need to be disabled for pgpool based setups)
This commit is contained in:
parent
fe31d45131
commit
fff55e0ee3
|
@ -26,6 +26,8 @@ class GlobalSetting
|
|||
hash["host_names"] = [ hostname ]
|
||||
hash["database"] = db_name
|
||||
|
||||
hash["prepared_statements"] = !!self.db_prepared_statements
|
||||
|
||||
{"production" => hash}
|
||||
end
|
||||
|
||||
|
|
|
@ -39,6 +39,10 @@ db_username = discourse
|
|||
# password used to access the db
|
||||
db_password =
|
||||
|
||||
# allow usage of prepared statements, must be disabled for
|
||||
# pgpool transaction pooling
|
||||
db_prepared_statements = true
|
||||
|
||||
# hostname running the forum
|
||||
hostname = "www.example.com"
|
||||
|
||||
|
|
Loading…
Reference in New Issue