Skip to content

neocdtv/postgresql-notify-listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postgresql-notify-listener

Provides the possibility to trace DB changes using PostgreSQL LISTEN/NOTIFY (trigger) mechanism.

build

mvn clean install

generate triggers on tables

java -jar target/postgresql-notify-listener.jar app=generate host=localhost port=5432 database=<databaseName> user=<dbUser> password=<dbPassword> pattern=t_%

run listener

java -jar target/postgresql-notify-listener.jar app=listen host=localhost port=5432 database=<databaseName> user=<dbUser> password=<dbPassword>