use less space in xl_xact_commit patch

From: Leonardo Francalanci <m_lists(at)yahoo(dot)it>
To: pgsql-hackers(at)postgresql(dot)org
Subject: use less space in xl_xact_commit patch
Date: 2011-05-16 15:20:11
Message-ID: 235610.92468.qm@web29004.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

following the conversation at

http://postgresql.1045698.n5.nabble.com/switch-UNLOGGED-to-LOGGED-tp4290461p4382333.html

I tried to remove some bytes from xl_xact_commit.

The way I did it needs palloc+memcpy. I guess it could be done
reusing the memory for smgrGetPendingDeletes. But I don't
think it's that important.

I guess there are other ways of doing it; let me know what
you think.

Leonardo

Attachment Content-Type Size
commitlog_firstv.patch application/octet-stream 17.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2011-05-16 15:22:30 Re: Extensions in schemas
Previous Message Bruce Momjian 2011-05-16 15:10:03 pg_upgrade permission check