Re: Forcing current WAL file to be archived

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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: Forcing current WAL file to be archived
Date: 2006-08-15 15:10:40
Message-ID: 20060815151040.GG13976@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Simon Riggs wrote:

> postgres=# select pg_xlogfile_name_offset(pg_switch_xlog());
> pg_xlogfile_name_offset
> -----------------------------------
> 000000010000000000000001 16777216
> (1 row)

> I've not taken up Jim Nasby's suggestion to make this an SRF with
> multiple return rows/columns since that much complexity isn't justified
> IMHO.

Hum, but two columns here seem warranted, don't they?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-08-15 15:27:30 Re: [PATCHES] Custom variable class segmentation fault
Previous Message Andrew Dunstan 2006-08-15 15:09:32 Re: [PATCHES] Custom variable class segmentation fault

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-08-15 15:27:30 Re: [PATCHES] Custom variable class segmentation fault
Previous Message Andrew Dunstan 2006-08-15 15:09:32 Re: [PATCHES] Custom variable class segmentation fault