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 Hackers > Arbitary file s...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 9351 of 10966
Post > Topic >>

Arbitary file size limit in twophase.c

by swm@[EMAIL PROTECTED] (Gavin Sherry) May 13, 2008 at 12:25 PM

There's an apparently arbitary limit of 10,000,000 bytes in twophase.c
on the size of a two phase commit file. I can't see why this limit
exists.

I hit this limit by creating a prepared transaction which included
dropping a schema with about 25,000 objects in it and then trying to
commit it. The result is that ReadTwoPhaseFile() returns NULL and
FinishPreparedTransaction() says it detected a corrupted file.

Thoughts?

Thanks,

Gavin

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




 8 Posts in Topic:
Arbitary file size limit in twophase.c
swm@[EMAIL PROTECTED] (G  2008-05-13 12:25:05 
Re: Arbitary file size limit in twophase.c
tgl@[EMAIL PROTECTED] (T  2008-05-13 10:34:23 
Re: Arbitary file size limit in twophase.c
swm@[EMAIL PROTECTED] (G  2008-05-13 16:55:23 
Re: Arbitary file size limit in twophase.c
heikki@[EMAIL PROTECTED]   2008-05-13 17:18:25 
Re: Arbitary file size limit in twophase.c
tgl@[EMAIL PROTECTED] (T  2008-05-13 12:24:40 
Re: Arbitary file size limit in twophase.c
heikki@[EMAIL PROTECTED]   2008-05-16 11:00:22 
Re: Arbitary file size limit in twophase.c
tgl@[EMAIL PROTECTED] (T  2008-05-16 10:26:28 
Re: Arbitary file size limit in twophase.c
heikki@[EMAIL PROTECTED]   2008-05-16 16:56:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Mon Dec 1 14:27:04 CST 2008.