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

autovacuum launcher using InitPostgres

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: autovacuum launcher using InitPostgres
Date: 2009-08-31 15:05:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

This seems to be the last holdup for flatfiles.c.  This patch removes
usage of that code in autovacuum launcher, instead making it go through
the most basic relcache initialization so that it is able to read

To this end, InitPostgres has been split in two.  The launcher only
calls the first half, the rest of the callers have been patched to
invoke the second half.

The only thing I'm aware is missing from this patch is fixing up
avlauncher's signal handling, and adding a bit more commentary; also I
haven't tested it under EXEC_BACKEND yet.


Alvaro Herrera                      
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Attachment: avlauncher-proc.patch
Description: text/x-diff (23.0 KB)


pgsql-hackers by date

Next:From: Robert HaasDate: 2009-08-31 15:06:43
Subject: Re: Feature request : add REMAP_SCHEMA-like option to pg_restore
Previous:From: Tom LaneDate: 2009-08-31 15:00:50
Subject: Re: set_client_encoding is broken

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