pgq: clean up pgq.consumer when consumer is unregistered
authormartinko <gamato@users.sf.net>
Tue, 5 Aug 2014 12:16:41 +0000 (14:16 +0200)
committermartinko <gamato@users.sf.net>
Tue, 5 Aug 2014 12:16:41 +0000 (14:16 +0200)
commit0466144c87e5c8bf1e64c23156ce7d989d579498
tree153fd47f825820ba730410f9c5e2843a7a3fa517
parent16a1376beebdf1b238c119695b843ea32ccfc7ce
pgq: clean up pgq.consumer when consumer is unregistered

The goal is to leave no "garbage" that accumulates over time.
sql/pgq/functions/pgq.register_consumer.sql
sql/pgq/functions/pgq.unregister_consumer.sql