Re: walsender parser patch

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: walsender parser patch
Date: 2011-01-10 20:08:39
Message-ID: m2ei8kplmg.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> Attached is an updated version of Heikki's patch to use a parser for
> the walsender commands, instead of parsing things manually. It also
> does some minor refactoring in walsender.c to break out
> IdentifySystem() and StartReplication() to their own functions to make
> it more readable.

Nice work.

> While having an actual parser here isn't *necessary* at this point, it
> makes things easier. And it will become increasingly useful as we add
> new features (for example, the "include all wal files" option for
> streaming base backup, and I'm sure that sync rep will require some
> additional commands or changes to commands).

Is that option on the roadmap for 9.1? That's huge! Go Magnus!

> Any objections to doing this?

None here :)
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2011-01-10 20:48:30 Re: Streaming base backups
Previous Message Joel Jacobson 2011-01-10 19:56:44 Re: Bug in pg_describe_object (was: Re: [HACKERS] obj_unique_identifier(oid))