Re: Re: [PATCH 02/14] Add support for a generic wal reading facility dubbed XLogReader
Andres Freund <andres@2ndquadrant.com>
From: Andres Freund <andres@2ndquadrant.com>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: pgsql-hackers@postgresql.org
Date: 2012-12-11T15:44:36Z
Lists: pgsql-hackers
Attachments
- 0001-Make-relpathbackend-return-a-statically-result-inste.patch (text/x-patch) patch 0001
- 0002-Remove-empty-pfree-definition-from-pg_xlogdump-compa.patch (text/x-patch) patch 0002
On 2012-12-11 16:43:12 +0100, Andres Freund wrote: > On 2012-12-11 15:44:39 +0100, Andres Freund wrote: > > On 2012-12-11 15:55:35 +0200, Heikki Linnakangas wrote: > > > * It's pretty ugly that to use the rm_desc functions, you have to provide > > > dummy implementations of a bunch of backend functions, including pfree() and > > > timestamptz_to_str(). Should find a better way to do that. > > > > I think most of the cases requiring those ugly hacks can be fixed to > > just use a caller-provided buffer, there's not that much left. > > > > timestamptz_to_str() is probably the most complex case. I just noticed > > there's already a second implementation in > > ecpg/pgtypeslib/dt_common.c. Yuck. It seems to already have diverged in > > a number of cases :( > > The attached (and pushed) patches change relpathbackend to use a static buffer > instead. That gets rid of the pfree() requirement and looks ok otherwise as > well. ... really attached. -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Background worker processes
- da07a1e85651 9.3.0 cited
-
Rearrange storage of data in xl_running_xacts.
- 5c11725867ac 9.3.0 cited
-
Basic binary heap implementation.
- 7a2fe9bd0371 9.3.0 cited
-
Embedded list interface
- a66ee69add6e 9.3.0 cited
-
Refactor xlog.c to create src/backend/postmaster/startup.c
- 9aceb6ab3c20 9.2.0 cited