postgresql/contrib/pg_logger
..
Makefile
pg_logger.c
README.pg_logger

Stdin-to-syslog gateway for PostgreSQL