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

Re: intercepting WAL writes

From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: Mike <mike(at)fonolo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: intercepting WAL writes
Date: 2008-05-28 23:46:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Wed, May 28, 2008 at 7:11 PM, Mike <mike(at)fonolo(dot)com> wrote:
> Can somebody point to the most logical place in the code to intercept the
> WAL writes? (just a rough direction would be enough)


> or if this doesn't make sense at all, another suggestion on where to get
> the data? (I'm trying to avoid doing it using triggers).

Without triggers, you don't have many options.  With triggers, you
could use pg_memcache.  If you take it from the WAL, you'll have to do
a bit of decoding to make it usable in the context you're looking for,
which is quite a bit of work.

Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah(dot)harris(at)enterprisedb(dot)com
Edison, NJ 08837 |

In response to


pgsql-hackers by date

Next:From: Douglas McNaughtDate: 2008-05-29 00:11:30
Subject: Re: [PERFORM] Memory question on win32 systems
Previous:From: Florian G. PflugDate: 2008-05-28 23:26:37
Subject: Re: Hint Bits and Write I/O

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