pgaudit_analyze icon indicating copy to clipboard operation
pgaudit_analyze copied to clipboard

Prevent crash when parsing connection attempt for database that does not exist

Open amalek215 opened this issue 3 years ago • 1 comments

example csv:

2020-10-06 17:41:28.952 EDT,"foo","foo",32580,"192.168.118.117:50773",5f7ce488.7f44,2,"authentication",2020-10-06 17:41:28 EDT,15/16636,0,LOG,00000,"connection authorized: user=foo database=foo SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2020-10-06 17:41:28.952 EDT,"foo","foo",32580,"192.168.118.117:50773",5f7ce488.7f44,3,"startup",2020-10-06 17:41:28 EDT,15/16636,0,FATAL,3D000,"database ""foo"" does not exist",,,,,,,,,""

amalek215 avatar Oct 07 '20 19:10 amalek215