Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: Snapshot ma...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 3621 of 4088
Post > Topic >>

Re: Snapshot management, final

by alvherre@[EMAIL PROTECTED] (Alvaro Herrera) Apr 23, 2008 at 08:24 AM

Tom Lane wrote:

> The only reason we have memory contexts at all is to avoid the need to
> track individual palloc'd objects.  Since we're instituting exactly such
> tracking for snapshots, there's no value in placing them in
> general-purpose memory contexts.

FWIW I noticed yesterday after going to bed that SnapshotContext serves
no useful purpose -- we can just remove it and store snaps in
TopTransactionContext.

-- 
Alvaro Herrera                               
http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 sup****t

-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
 




 5 Posts in Topic:
Re: Snapshot management, final
simon@[EMAIL PROTECTED]   2008-04-22 22:58:38 
Re: Snapshot management, final
alvherre@[EMAIL PROTECTED  2008-04-22 18:13:00 
Re: Snapshot management, final
tgl@[EMAIL PROTECTED] (T  2008-04-22 19:30:46 
Re: Snapshot management, final
alvherre@[EMAIL PROTECTED  2008-04-22 21:15:49 
Re: Snapshot management, final
alvherre@[EMAIL PROTECTED  2008-04-23 08:24:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 9:31:29 CDT 2008.