postgres-ai / postgres-checkup

Postgres Health Check and SQL Performance Analysis. :point_right: THIS IS A MIRROR OF https://gitlab.com/postgres-ai/postgres-checkup
GNU Affero General Public License v3.0
169 stars 14 forks source link

Templates reworked + use source filename as report filename #132

Closed dmius closed 5 years ago

Nastradamus commented 5 years ago

For me it created strange files (generated by two different templates:

[vyagofarov@mac:~/git/check] $ ll ./artifacts/dummy/md_reports/1_2018_12_11T14_00_02_+0300/
total 520
drwxr-xr-x  29 vyagofarov  staff   928B Dec 11 14:01 .
drwxr-xr-x   3 vyagofarov  staff    96B Dec 11 14:00 ..
-rwxr-xr-x   1 vyagofarov  staff   3.6K Dec 11 14:00 A001.md
-rwxr-xr-x   1 vyagofarov  staff   3.7K Dec 11 14:00 A001_system_info.md
-rwxr-xr-x   1 vyagofarov  staff   337B Dec 11 14:00 A002.md
-rwxr-xr-x   1 vyagofarov  staff   364B Dec 11 14:00 A002_pgversion.md
-rwxr-xr-x   1 vyagofarov  staff   9.0K Dec 11 14:00 A003.md
-rwxr-xr-x   1 vyagofarov  staff   9.0K Dec 11 14:00 A003_pgsettings.md
-rwxr-xr-x   1 vyagofarov  staff   944B Dec 11 14:00 A004.md
-rwxr-xr-x   1 vyagofarov  staff   1.0K Dec 11 14:00 A004_cluster_info.md
-rwxr-xr-x   1 vyagofarov  staff   361B Dec 11 14:00 A005.md
-rwxr-xr-x   1 vyagofarov  staff   416B Dec 11 14:00 A005_extensions.md
-rwxr-xr-x   1 vyagofarov  staff   132K Dec 11 14:00 A006.md
-rwxr-xr-x   1 vyagofarov  staff   1.5K Dec 11 14:00 A007.md
-rwxr-xr-x   1 vyagofarov  staff   1.7K Dec 11 14:00 A007_altersettings.md
-rwxr-xr-x   1 vyagofarov  staff   1.8K Dec 11 14:00 D004.md
-rwxr-xr-x   1 vyagofarov  staff   1.8K Dec 11 14:00 D004_ext_settings.md
-rwxr-xr-x   1 vyagofarov  staff   119B Dec 11 14:00 F001.md
-rwxr-xr-x   1 vyagofarov  staff   141B Dec 11 14:00 F001_heap_bloat.md
-rwxr-xr-x   1 vyagofarov  staff   7.7K Dec 11 14:00 F002.md
-rwxr-xr-x   1 vyagofarov  staff   7.7K Dec 11 14:00 F002_index_bloat.md
-rwxr-xr-x   1 vyagofarov  staff   613B Dec 11 14:00 F003.md
-rwxr-xr-x   1 vyagofarov  staff   398B Dec 11 14:00 G001.md
-rwxr-xr-x   1 vyagofarov  staff   1.6K Dec 11 14:00 G002.md
-rwxr-xr-x   1 vyagofarov  staff   1.6K Dec 11 14:00 G002_current_connections.md
-rwxr-xr-x   1 vyagofarov  staff   3.2K Dec 11 14:00 G003.md
-rwxr-xr-x   1 vyagofarov  staff   371B Dec 11 14:00 H001.md
-rwxr-xr-x   1 vyagofarov  staff   158B Dec 11 14:01 H001_unused_indexes.md
-rwxr-xr-x   1 vyagofarov  staff    93B Dec 11 14:00 H002.md

No errors.