Skip to content

Commit

Permalink
PostgreSQL queries.conf: Increase post-auth logging precision
Browse files Browse the repository at this point in the history
PostgreSQL supports microsecond precision on timestamps.

Don't use NOW() since the queries can be replayed from a file.
  • Loading branch information
terryburton authored and alandekok committed Aug 23, 2019
1 parent 7a7bbca commit 1683558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raddb/mods-config/sql/main/postgresql/queries.conf
Expand Up @@ -436,5 +436,5 @@ post-auth {
'%{User-Name}', \
'%{%{User-Password}:-Chap-Password}', \
'%{reply:Packet-Type}', \
NOW())"
'%S.%M')"
}

0 comments on commit 1683558

Please sign in to comment.