WIP csv logs

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: WIP csv logs
Date: 2007-06-06 20:03:05
Message-ID: 466712F9.9040601@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Attached is my WIP version of the CSV logs patch. It does not include
docs changes.

It fixes the CSV thinko I just posted about, and also implements the
"safe to rotate" scheme I suggested yesterday, at quite a modest cost.
As Tom rightly points out, that does not protect us against interleaving
log lines from different backends, which is an open problem. It does
however protect against rotating in the middle of a log line. It also
incorporates the fix I made two days ago to remove inappropriate Windows
CRLF translation, and some code tidying.

cheers

andrew

Attachment Content-Type Size
csvlog-3.patch text/x-patch 46.0 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2007-06-06 20:13:12 Re: WIP csv logs
Previous Message Andrew Dunstan 2007-06-06 19:14:19 Re: COPY-able csv log outputs