Re: Hot standby, dropping a tablespace
От | Heikki Linnakangas |
---|---|
Тема | Re: Hot standby, dropping a tablespace |
Дата | |
Msg-id | 497CA7D6.90705@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: Hot standby, dropping a tablespace (Simon Riggs <simon@2ndQuadrant.com>) |
Ответы |
Re: Hot standby, dropping a tablespace
|
Список | pgsql-hackers |
Simon Riggs wrote: >> 2. Kill all connections by given user. Hmm, not used for anything, >> actually. Should remove the roleId argument from GetConflictingVirtualXIDs. > > No, because we still need to add code to kill-connected-users if we drop > role. Oh, I see, that's still a todo item. But we don't do that during normal operation, so why should we during recovery? >> I'm thinking of an interface >> consisting of three functions, replacing the current >> GetConflictingVirtualXIDs and ResolveRecoveryConflictWithVirtualXIDs >> functions: > > I'm not sure I see any benefit in doing that. It makes the code more readable. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: