- fixed bug #3212
- db_flush_cache: do not retrieve all keys from the cache if not necessary. These array operation can cause long mutex lock times.
on pg version 9.0 ( and lower ) the function string_to_array takes only two parameters.
- replace depreacted "ns_mkdir" by "file mkdir"