Site icon シドニーで働くプログラマーのBlog(今はIT会社の経営者)

What logs does your Postgres dump?

What logs does your Postgres dump?
I set these setting on postgresql.conf

log_min_error_statement

Controls whether or not the SQL statement that causes an error condition will be recorded in the server log.

log_min_duration_statement

Causes the duration of each completed statement to be logged if the statement ran for at least the specified number of milliseconds.

Exit mobile version