pgq.ticker(): rework the old tick sanity check
authorMarko Kreen <markokr@gmail.com>
Fri, 14 Jan 2011 12:09:47 +0000 (14:09 +0200)
committerMarko Kreen <markokr@gmail.com>
Fri, 14 Jan 2011 13:17:55 +0000 (15:17 +0200)
commit88b38f2210dbd5fb8d3af86697bb425362af00b9
treee81378d62fb0f4785f1f553a4735eae2bbb0d1a4
parent01b26956322c1c907851d4e96b1bd97e22341da2
pgq.ticker(): rework the old tick sanity check

due to good-enough timing, seq and xmax may appear reversed.

only error out when xmin is wrong.

otherwise throw warning, to debug the issue.
sql/pgq/functions/pgq.ticker.sql