pgAudit 1.3.1 commit log

Stamp 1.3.1.

commit   : 4e2e968b364ebb6bb244784c5be39b0abd0bed7a    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 23 May 2019 12:58:41 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 23 May 2019 12:58:41 -0400    

Click here for diff

M Makefile
A pgaudit–1.3–1.3.1.sql
R094 pgaudit–1.3.sql pgaudit–1.3.1.sql
M pgaudit.control

Update Vagrantfile with new box version and PostgreSQL repository.

commit   : 1487811fe7bcf1f0212dc5462cfaa738feb85412    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 23 May 2019 12:30:15 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 23 May 2019 12:30:15 -0400    

Click here for diff

M test/Vagrantfile

Add SET to documented list of commands in the MISC class.

commit   : 3dcc346628edf97e2632edca56ce4de391f19616    
  
author   : Mike Palmiotto <mike.palmiotto@crunchydata.com>    
date     : Thu, 24 Jan 2019 10:17:32 +0200    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 24 Jan 2019 10:17:32 +0200    

Click here for diff

M README.md

Document that or may be logged in audit entries.

commit   : cf68e3aaa1aba25d909370840b3cc93a40f50311    
  
author   : Christoph Berg <cb@df7cb.de>    
date     : Wed, 23 Jan 2019 22:17:13 +0200    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 23 Jan 2019 22:17:13 +0200    

Click here for diff

This was likely missed after a behavioral change early on in development.  
  
Update examples as appropriate.  

M README.md

Add [%p] to suggested log_line_prefix.

commit   : 46412d9453742ff58d2aaba1a1533580935075ec    
  
author   : Christoph Berg <cb@df7cb.de>    
date     : Wed, 23 Jan 2019 18:58:16 +0200    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 23 Jan 2019 18:58:16 +0200    

Click here for diff

The documentation suggests that the process id is useful for correlating log entries so it makes sense to include it in the suggested log prefix example.  
  
Note that the CSV format is generally more useful in this case and it already includes the process id.  

M README.md

Remove extraneous escapes in log prefix example.

commit   : ab1873df16742fdce5fcbab48197488bba716876    
  
author   : Christoph Berg <cb@df7cb.de>    
date     : Wed, 23 Jan 2019 18:44:35 +0200    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 23 Jan 2019 18:44:35 +0200    

Click here for diff

M README.md

Add ALL to the list of logging classes.

commit   : 54e7463b36d9a670e27cccc3d3be3a00ab7cbe1d    
  
author   : Christoph Berg <cb@df7cb.de>    
date     : Wed, 23 Jan 2019 18:29:45 +0200    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 23 Jan 2019 18:29:45 +0200    

Click here for diff

This class was referenced in other parts of the documentation but never explicitly listed.  

M README.md

Fix DO example syntax.

commit   : e0ecf4019ef59b4df871fdfe64c05ac625571232    
  
author   : Christoph Berg <cb@df7cb.de>    
date     : Wed, 23 Jan 2019 18:08:24 +0200    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 23 Jan 2019 18:08:24 +0200    

Click here for diff

M README.md

Deep copy queryDesc->params into the audit stack.

commit   : 74605a5bc1893125bb07f12ceecaf216e329d664    
  
author   : Joe Conway <mail@joeconway.com>    
date     : Wed, 23 Jan 2019 16:24:27 +0200    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 23 Jan 2019 16:24:27 +0200    

Click here for diff

Apparently queryDesc->params does not live in a sufficiently long-lived memory context for use when needed.  
  
By sheer luck this is only intermittently an actual problem, but in any case deep copy queryDesc->params for use in the audit stack.  

M expected/pgaudit.out
M pgaudit.c

Fix typo in shared_preload_libraries comment.

commit   : 79c35e6db8512f858f1403ef2d9fdbf1292878a8    
  
author   : Christoph Berg <cb@df7cb.de>    
date     : Tue, 20 Nov 2018 21:57:10 +0100    
  
committer: David Steele <dwsteele@users.noreply.github.com>    
date     : Tue, 20 Nov 2018 21:57:10 +0100    

Click here for diff

M pgaudit.c