pgAudit 1.2.2 (upcoming) commit log

commit   : 93bd45d1822516db627e3c0c88c8f3eba0f59187    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 08:22:17 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 08:22:17 -0400    

Click here for diff

M pgaudit.c

Add *.bc to .gitignore.

commit   : e3ca409aba3594b0f0101c7c932ab78d35d8e3b2    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 08:09:08 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 08:09:08 -0400    

Click here for diff

This exclusion is not needed in our current test environment but may be needed in other environments. It also prevents *.bc files from appearing during branch changes.  

M .gitignore

Use syscache to get relation namespace/name.

commit   : c31972eae64423025596f74e1a00104efa288244    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 07:58:05 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 07:58:05 -0400    

Click here for diff

The prior method of opening the relation with NoLock failed during assert builds.  
  
Using the syscache allows us to get the namespace/name without calling relation_open(). Since the syscache calls are performed after permissions have been checked it should not be possible to have a cache miss.  
  
Found by @rykp.  
Reviewed by Joe Conway (@jconway), Stephen Frost (@sfrost).  

M pgaudit.c

Use more common types for create conversion.

commit   : 63ea6fc04b2a6fbde47d9e766b83d04492a262cd    
  
author   : David Steele <david@pgmasters.net>    
date     : Wed, 17 Jun 2020 14:39:07 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 17 Jun 2020 14:39:07 -0400    

Click here for diff

These types are available across all versions and forks of PostgreSQL and are not likely to go away anytime soon.  

M expected/pgaudit.out
M sql/pgaudit.sql

commit   : 96b86ae6fa5095b97d055e1271417c8221a7d1f4    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 23 May 2019 14:20:11 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 23 May 2019 14:20:11 -0400    

Click here for diff

M pgaudit.c