Re: Snapshot management, final
От | Alvaro Herrera |
---|---|
Тема | Re: Snapshot management, final |
Дата | |
Msg-id | 20080423122106.GA4768@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Snapshot management, final (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: Snapshot management, final
|
Список | pgsql-patches |
Simon Riggs wrote: > On Tue, 2008-04-22 at 18:13 -0400, Alvaro Herrera wrote: > > Simon Riggs wrote: > > > > > OK, so it can;t be copied to a longer lived memory context? > > > > If you need that ability, please explain. > > No, I wish to prevent that, not enable it. I see. Sure, we don't have that problem. In fact, we didn't have it before either, so I'm not sure I see your point :-) > Perhaps put the TransactionId on each snapshot and then an Assert can > check it before its used. There's no need for that -- all snapshots go away at transaction end. An attempt to use one would cause a prompt crash (at least on an assert-enabled build.) -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-patches по дате отправления: