Re: Exposing the Xact commit order to the user - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: Exposing the Xact commit order to the user
Date
Msg-id 4C07E3D90200002500031EF0@gw.wicourts.gov
Whole thread Raw
In response to Re: Exposing the Xact commit order to the user  (Greg Stark <gsstark@mit.edu>)
Responses Re: Exposing the Xact commit order to the user  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
Greg Stark <gsstark@mit.edu> wrote:
> what kind of interface you need
For the potential uses I can see, it would be great to have a SRF
which took two parameters: xid of last known commit and a limit how
many commits past that to return.  Perhaps a negative number could
move earlier in time, if that seems reasonable to others.  I think
that's also consistent with Jan's posts.  A GUC to enable it and
some way to specify retention (or force cleanup) are the only other
user-facing features which come to mind for me.  (Not sure what form
that last should take, but didn't Jan say something about both of
these early in the thread?)
Do you see a need for something else (besides, obviously, docs)?
-Kevin


pgsql-hackers by date:

Previous
From: Dan Colish
Date:
Subject: Re: SET CONSTRAINTS todo
Next
From: Tom Lane
Date:
Subject: Re: Did we really want to force an initdb in beta2?