This question is part postgres and part londiste.
I have successfully upgraded PostgreSQL from 9.1 to 9.3 using Londiste. However, in the PostgreSQL 9.3 log, I am still getting some messages related to old Londiste replication in my Postgres 9.1 environment.
select pgq.next_batch(‘some_oldqueue_name’, ‘some_old_consumer_name’)
2015-02-16 19:16:19 GMT ERROR: Not subscriber to queue: some_old_queue_name/some_old_consumer_name
The pqg.nextbatch function is like as follows:
select sub_queue, sub_consumer, sub_id, sub_last_tick, sub_batch into sub
from pgq.queue q, pgq.consumer c, pgq.subscription s
where q.queue_name = x_queue_name
and c.co_name = x_consumer_name
and s.sub_queue = q.queue_id
and s.sub_consumer = c.co_id;
if not found then
errmsg := ‘Not subscriber to queue: ‘
The some_old_queue_name and some_old_consumer_name are not in the database. So, the error is very obvious.
So, my question is that is there any way that I can stop this error message from Londiste side? I tried to unregister the old consumer name , but in vain.
If not, can I filter out the message from the Postgresql log?
Thanks