Simple example utility hook for PostgreSQL 9.3+; captures CREATE and DROP table command text