pgAudit 1.3.2 (upcoming) commit log

commit   : 9a686ef2d4ddc47e2d0df09d3a20b22e8586cd9e    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 08:22:05 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 08:22:05 -0400    

Click here for diff

M pgaudit.c

Use syscache to get relation namespace/name.

commit   : 5426515a18e19c369afd5514920cef00c778457c    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 07:55:54 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 18 Jun 2020 07:55:54 -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   : 7d73bb2fedb71b229b181d50a091f9f2213974ab    
  
author   : David Steele <david@pgmasters.net>    
date     : Wed, 17 Jun 2020 14:33:23 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 17 Jun 2020 14:33:23 -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   : 38e59beda8bd207a1f2a8da829f40258f5bb60b3    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 23 May 2019 14:19:56 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 23 May 2019 14:19:56 -0400    

Click here for diff

M pgaudit.c