Skip site navigation (1) Skip section navigation (2)

Re: Hi- How frequently Postgres Poll for trigger file

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: aaliya zarrin <aaliya(dot)zarrin(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Hi- How frequently Postgres Poll for trigger file
Date: 2010-12-01 18:58:48
Message-ID: 4CF69AE8.7080608@enterprisedb.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On 01.12.2010 19:23, aaliya zarrin wrote:
> Thanks for quick response..
> Can I change this 5 second time?
> I have seen the postgres code as well.

You can, if you don't mind changing the sources.

> What is the functionality of WaitLatch() function. I could not understand
> completely.

The recoveryWakupLatch latch allows the startup process to wake up 
immediately when new WAL arrives via streaming replication, without 
waiting for the whole five seconds to elapse.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

In response to

pgsql-hackers by date

Next:From: Josh BerkusDate: 2010-12-01 19:00:25
Subject: Re: We really ought to do something about O_DIRECT and data=journalled on ext4
Previous:From: Tom LaneDate: 2010-12-01 18:56:03
Subject: Re: [HACKERS] Improved JDBC driver part 2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group