pgq_node.set_consumer_error(): to store pending error condition
authorMarko Kreen <markokr@gmail.com>
Mon, 8 Jun 2009 08:03:49 +0000 (11:03 +0300)
committerMarko Kreen <markokr@gmail.com>
Mon, 8 Jun 2009 08:03:49 +0000 (11:03 +0300)
commite7349401678a0c5afa3d7c26a9d94fe25928c229
tree286b53989453387bbd3f28a8d9a137b9011e586a
parent42935e8107c3f4eb787b1cb7d55298e3c1b4de41
pgq_node.set_consumer_error(): to store pending error condition

this may help admin tools which can show also pending error
of why processing last batch failed.
sql/pgq_node/functions/pgq_node.get_consumer_info.sql
sql/pgq_node/functions/pgq_node.get_consumer_state.sql
sql/pgq_node/functions/pgq_node.set_consumer_completed.sql
sql/pgq_node/functions/pgq_node.set_consumer_error.sql [new file with mode: 0644]
sql/pgq_node/sql/pgq_node_test.sql
sql/pgq_node/structure/functions.sql
sql/pgq_node/structure/tables.sql