Re: snapshot leak and core dump with serializable transactions
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: snapshot leak and core dump with serializable transactions |
| Дата | |
| Msg-id | 4936EA20.4070300@enterprisedb.com обсуждение исходный текст |
| Ответ на | Re: snapshot leak and core dump with serializable transactions (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: snapshot leak and core dump with serializable
transactions
|
| Список | pgsql-hackers |
Alvaro Herrera wrote: > Alvaro Herrera escribió: > >> Yeah, we need two "at-commit" routines, one of which needs to be called >> early. I'm prepping a patch. > > Here it is ... the large object patch is also included. I've created > new functions to specify the resource owner to register a snapshot in; > now that there are two callers, it seems likely that there will be more > in the future. I'm surprised you implemented RegisterSnapshotOnOwner by switching CurrentResourceOwner and calling RegisterSnapshot, rather than implementing RegisterSnapshot by calling RegisterSnapshotOnOwner(..., CurrentResourceOwner). -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: