postgresql

Postgresql

If you host your own instance of Postgresql, you can run it with logs to examine statements by following the guide at Runtime config logging i.e. on macOS, edit /usr/local/var/postgres/postgresql.conf and set log_destination to 'stderr' as per: #------------------------------------------------------------------------------ # REPORTING AND LOGGING #------------------------------------------------------------------------------ # - Where to Log - log_destination = 'stderr' # Valid values are combinations of # stderr, csvlog, syslog, and eventlog, # depending on platform. csvlog # requires logging_collector to be on. »