Re: SSI patch version 14
От
Kevin Grittner
Тема
Re: SSI patch version 14
Дата
Msg-id
4D52655A020000250003A6D7@gw.wicourts.gov
Ответ на
Re: SSI patch version 14 (Dan Ports)
Список
Дерево обсуждения
Re: SSI patch version 14 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: SSI patch version 14 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: SSI patch version 14 Dan Ports <drkp@csail.mit.edu>
Re: SSI patch version 14 Dan Ports <drkp@csail.mit.edu>
Re: SSI patch version 14 Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: SSI patch version 14 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: SSI patch version 14 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: SSI patch version 14 Dan Ports <drkp@csail.mit.edu>
Re: SSI patch version 14 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: SSI patch version 14 Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: SSI patch version 14 Andrew Dunstan <andrew@dunslane.net>
Re: SSI patch version 14 Robert Haas <robertmhaas@gmail.com>
Re: SSI patch version 14 Dan Ports <drkp@csail.mit.edu>
Re: SSI patch version 14 David Fetter <david@fetter.org>
Re: SSI patch version 14 Markus Wanner <markus@bluegap.ch>
Re: SSI patch version 14 Robert Haas <robertmhaas@gmail.com>
Re: SSI patch version 14 Markus Wanner <markus@bluegap.ch>
Re: SSI patch version 14 Robert Haas <robertmhaas@gmail.com>
Re: SSI patch version 14 "A.M." <agentm@themactionfaction.com>
Re: SSI patch version 14 Robert Haas <robertmhaas@gmail.com>
Re: SSI patch version 14 Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: SSI patch version 14 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Dan Ports wrote: > I think for SerializableXidHash we should probably just initially > allocate it at its maximum size. Then it'll match the PredXact > list which is allocated in full upfront, and there's no risk of > being able to allocate a transaction but not register its xid. In > fact, I believe there would be no way for starting a new > serializable transaction to fail. To be more precise, it would prevent an out of shared memory error during an attempt to register an xid for an active serializable transaction. That seems like a good thing. Patch to remove the hint and initially allocate that HTAB at full size attached. I didn't attempt to address the larger general issue of one HTAB stealing shared memory from space calculated to belong to another, and then holding on to it until the postmaster is shut down. -Kevin
В списке pgsql-hackers по дате отправления