Check the setting:
SELECT * FROM pg_settings WHERE name = 'log_min_duration_statement';
Change the setting:
SET log_min_duration_statement TO 1000;
>
#!/usr/bin/python3 | |
"""Runs autoflake on commit. Blocks commit and requests adding changed files | |
if autoflake fires. | |
Installation | |
------------ | |
1. You will need to install autoflake: https://pypi.org/project/autoflake/ | |
$ pip install --upgrade autoflake | |
or |