[Bug 1366104] Re: [FFe] OperationError when large object greater than 2gb

Julian Edwards 1366104 at bugs.launchpad.net
Wed Nov 19 20:31:56 UTC 2014


** Changed in: maas
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to psycopg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1366104

Title:
  [FFe] OperationError when large object greater than 2gb

Status in MAAS:
  Fix Released
Status in “psycopg2” package in Ubuntu:
  New

Bug description:
  If a large object is greater than 2gb then calls to seek and tell will
  fail with an OperationError. This is because of the use of lseek and
  ltell instead of the lseek64 and ltell64.

  This issue affects MAAS (or any other software) when trying to upload
  an object that is larger than 2GB. In the case of MAAS, it is
  uploading images that are larger than 2GB causing this to fail

  This has been tested in Ubuntu Trusty and Utopic:

  https://launchpad.net/~maas-
  maintainers/+archive/ubuntu/experimental?field.series_filter=utopic

  
  psycopg2 (2.5.3+dfsg-1ubuntu1) utopic; urgency=medium

    * debian/patches/99_allow_large_objects.patch: Allow large objects
      greater than 2GB. (LP: #1366104)
   -- Andres Rodriguez <andreserl at ubuntu.com>   Fri, 19 Sep 2014 12:30:26 -0500

  diff:
  https://launchpad.net/~maas-maintainers/+archive/ubuntu/experimental/+files/psycopg2_2.5.3%2Bdfsg-1_2.5.3%2Bdfsg-1ubuntu1~ppa1.diff.gz

  Attached is the upstream issue and pull request.
  https://github.com/psycopg/psycopg2/pull/259

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1366104/+subscriptions



More information about the foundations-bugs mailing list