pgAudit 1.2.1 commit log

Stamp 1.2.1.

commit   : f56258e1cf0642e7df02bbd85535f2fb446bdd9f    
  
author   : David Steele <[email protected]>    
date     : Thu, 23 May 2019 13:06:58 -0400    
  
committer: David Steele <[email protected]>    
date     : Thu, 23 May 2019 13:06:58 -0400    

Click here for diff

M Makefile
A pgaudit–1.2–1.2.1.sql
R094 pgaudit–1.2.sql pgaudit–1.2.1.sql
M pgaudit.control

Update Vagrantfile with new box version and PostgreSQL repository.

commit   : 3a969f4fc1ae7d5e8e17002f43bb5872211ea14f    
  
author   : David Steele <[email protected]>    
date     : Thu, 23 May 2019 12:32:14 -0400    
  
committer: David Steele <[email protected]>    
date     : Thu, 23 May 2019 12:32:14 -0400    

Click here for diff

M test/Vagrantfile

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

commit   : 7bcc890afb957f0556242e330ab0f71c9f2339e0    
  
author   : Mike Palmiotto <[email protected]>    
date     : Thu, 24 Jan 2019 10:18:17 +0200    
  
committer: David Steele <[email protected]>    
date     : Thu, 24 Jan 2019 10:18:17 +0200    

Click here for diff

M README.md

Document that <none> or <not logged> may be logged in audit entries.

commit   : d2ff7904decdb8b566d35fb67076416af65fa8fb    
  
author   : Christoph Berg <[email protected]>    
date     : Wed, 23 Jan 2019 22:17:41 +0200    
  
committer: David Steele <[email protected]>    
date     : Wed, 23 Jan 2019 22:17:41 +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   : c4e1b54f0cb838c74922d29cd526d6114e47b65d    
  
author   : Christoph Berg <[email protected]>    
date     : Wed, 23 Jan 2019 18:59:09 +0200    
  
committer: David Steele <[email protected]>    
date     : Wed, 23 Jan 2019 18:59:09 +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   : 977f0a1638e3905914e08cb8a8d3ebb549e9259c    
  
author   : Christoph Berg <[email protected]>    
date     : Wed, 23 Jan 2019 18:45:16 +0200    
  
committer: David Steele <[email protected]>    
date     : Wed, 23 Jan 2019 18:45:16 +0200    

Click here for diff

M README.md

Add ALL to the list of logging classes.

commit   : 22d4c6ea71feae12b37176aec73e8ff7476f6d6a    
  
author   : Christoph Berg <[email protected]>    
date     : Wed, 23 Jan 2019 18:30:19 +0200    
  
committer: David Steele <[email protected]>    
date     : Wed, 23 Jan 2019 18:30:19 +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   : 48757b757b374d91e4945223426f2dbcd24ae2e6    
  
author   : Christoph Berg <[email protected]>    
date     : Wed, 23 Jan 2019 18:09:23 +0200    
  
committer: David Steele <[email protected]>    
date     : Wed, 23 Jan 2019 18:09:23 +0200    

Click here for diff

M README.md

Deep copy queryDesc->params into the audit stack.

commit   : 4a4a097d670a9026397c13aea850477055cc1814    
  
author   : Joe Conway <[email protected]>    
date     : Wed, 23 Jan 2019 16:24:27 +0200    
  
committer: David Steele <[email protected]>    
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   : 504531bb5f5f0862f4cb627f81b25aeca9e80361    
  
author   : Christoph Berg <[email protected]>    
date     : Tue, 20 Nov 2018 21:57:10 +0100    
  
committer: David Steele <[email protected]>    
date     : Tue, 20 Nov 2018 21:57:10 +0100    

Click here for diff

M pgaudit.c

Update build instructions to use PGXS.

commit   : 1c50c0a2a7cdd7edd3a2491929f54e298f4cbb12    
  
author   : David Steele <[email protected]>    
date     : Wed, 3 Oct 2018 12:56:57 +0100    
  
committer: David Steele <[email protected]>    
date     : Wed, 3 Oct 2018 12:56:57 +0100    

Click here for diff

M README.md

Add version information for PostgreSQL 11.

commit   : 12016ef0aad63a9d3501a000c4acc6a289cdb6b8    
  
author   : David Steele <[email protected]>    
date     : Wed, 3 Oct 2018 10:48:30 +0100    
  
committer: David Steele <[email protected]>    
date     : Wed, 3 Oct 2018 10:48:30 +0100    

Click here for diff

M README.md

Add step to checkout correct pgaudit branch during build.

commit   : 5d1450edb5e6c0ae9f7730f035b489f4d04256b6    
  
author   : David Steele <[email protected]>    
date     : Wed, 3 Oct 2018 10:46:53 +0100    
  
committer: David Steele <[email protected]>    
date     : Wed, 3 Oct 2018 10:46:53 +0100    

Click here for diff

M README.md

Reinstate log_client documentation accidentally removed in 83a2f4e6.

commit   : 1e49bdb9394677de6fe518752c7477f5f20aa7fa    
  
author   : David Steele <[email protected]>    
date     : Wed, 3 Oct 2018 10:42:25 +0100    
  
committer: David Steele <[email protected]>    
date     : Wed, 3 Oct 2018 10:42:25 +0100    

Click here for diff

M README.md