From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Kevin Grittner <kevin(dot)grittner(at)wicourts(dot)gov>, alexk <alexk(at)commandprompt(dot)com>, Alexander Shulgin <ash(at)commandprompt(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Postmaster holding unlinked files for pg_largeobject table |
Date: | 2011-06-08 18:28:02 |
Message-ID: | 27730.1307557682@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Okay, here's a patch implementing this idea. It seems to work quite
> well, and it solves the problem in a limited testing scenario -- I
> haven't yet tested on the customer machines.
This seems mostly sane, except I think you have not considered the
issue of when to clear the smgr_transient flag on an existing
SMgrRelation: if it starts getting used for "normal" accesses after
having by chance been used for a blind write, we don't want the
transient marking to persist. That's why I suggested having smgropen
always clear it.
Likewise, I think the FD_XACT_TRANSIENT flag on a VFD needs to go away
at some point, probably once it's actually been closed at EOXACT, though
there's doubtless more than one way to handle that.
> This customer is running on 8.4 so I started from there; should I
> backpatch this to 8.2, or not at all?
I'm not excited about back-patching it...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Mike Christensen | 2011-06-08 18:56:45 | Converting uuid primary key column to serial int |
Previous Message | Alvaro Herrera | 2011-06-08 17:52:22 | Re: Postmaster holding unlinked files for pg_largeobject table |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-06-08 18:29:40 | Another pgindent run before beta2? |
Previous Message | Robert Haas | 2011-06-08 18:19:09 | Re: reducing the overhead of frequent table locks - now, with WIP patch |