timescaledb-tune icon indicating copy to clipboard operation
timescaledb-tune copied to clipboard

Strange characters in the output on Windows

Open mickmcg opened this issue 2 years ago • 0 comments

I've tried running it from both PowerShell and cmd and the results are the same. I've also tried it on 2 different Windows machines on different Windows versions. I tried cmd.exe /c chcp 65001 to see if it was a Unicode character that wasn't able to display properly but that didn't make any difference.

The output on a couple of Windows machines looks like this. I'm using the latest 0.14.1 of timescaledb-tune

←[37;1mUsing postgresql.conf at this path:
←[0mE:/Marlin/DBmarlin-PostgreSQL-Data\postgresql.conf

←[37;1mWriting backup to:
←[0mC:\Users\Mick\AppData\Local\Temp/timescaledb_tune.backup202210120951

←[32;1msuccess: ←[0mshared_preload_libraries is set correctly

←[35;1mTune memory/parallelism/WAL and other settings? [(y)es/(n)o]: ←[0my
←[37;1mRecommendations based on 4.00 GB of available memory and 4 CPUs for PostgreSQL 12
←[0m
←[37;1mMemory settings recommendations
←[0m←[32;1msuccess: ←[0mmemory settings are already tuned

←[37;1mParallelism settings recommendations
←[0m←[32;1msuccess: ←[0mparallelism settings are already tuned

←[37;1mWAL settings recommendations
←[0m←[32;1msuccess: ←[0mWAL settings are already tuned

←[37;1mBackground writer settings recommendations
←[0m←[37;1mCurrent:
←[0m←[37;1mRecommended:
←[0m←[35;1mIs this okay? [(y)es/(s)kip/(q)uit]: ←[0m

mickmcg avatar Oct 12 '22 08:10 mickmcg