Re: [HACKERS] Forcing current WAL file to be archived

From: Jim Nasby <jnasby(at)pervasive(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us>, Hannu Krosing <hannu(at)skype(dot)net>
Subject: Re: [HACKERS] Forcing current WAL file to be archived
Date: 2006-08-11 21:02:25
Message-ID: E002038B-28A4-4919-963E-88E44125DBE7@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Aug 10, 2006, at 7:57 AM, Tom Lane wrote:
> Anyway, after further thought I've concluded that we really should
> supply something that returns the Insert pointer, as this would be
> useful for debugging and system-monitoring purposes. It's clear
> however
> that we also need something that returns the Write pointer, as that's
> what's needed for partial log-shipping. So my vote is for two
> functions, both read-only (and hence not superuser-only). Not sure
> what to name them exactly.

Dumb question... is there any need to be able to get those values in
sync (I'm assuming that in the time taken to call two separate
functions the value on the second function called could change from
what it was when the first function was called)? Should there be a
SRF that returns both values?
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-08-11 21:18:31 Re: 8.2 features status
Previous Message Bruce Momjian 2006-08-11 20:44:23 Re: [HACKERS] SO_SNDBUF size is small on win32?

Browse pgsql-patches by date

  From Date Subject
Next Message Jim C. Nasby 2006-08-11 22:11:03 Re: [PATCHES] extension for sql update
Previous Message Bruce Momjian 2006-08-11 20:44:23 Re: [HACKERS] SO_SNDBUF size is small on win32?