You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.3 KiB

7 years ago
  1. =======================
  2. MuK Large Objects Field
  3. =======================
  4. PostgreSQL offers support for large objects, which provide stream-style access
  5. to user data that is stored in a special large-object structure. They are useful
  6. with data values too large to be manipulated conveniently as a whole.
  7. Psycopg allows access to the large object using the `lobject` class. Objects are
  8. generated using the `connection.lobject()` factory method. Data can be retrieved
  9. either as bytes or as Unicode strings.
  10. Psycopg large object support efficient import/export with file system files using
  11. the `lo_import()` and `lo_export()` libpq functions.
  12. Changed in version 2.6: added support for large objects greated than 2GB. Note
  13. that the support is enabled only if all the following conditions are verified:
  14. * the Python build is 64 bits;
  15. * the extension was built against at least libpq 9.3;
  16. * the server version is at least PostgreSQL 9.3 (server_version must be >= 90300).
  17. If Psycopg was built with 64 bits large objects support (i.e. the first two
  18. contidions above are verified), the `psycopg2.__version__` constant will contain
  19. the lo64 flag. If any of the contition is not met several lobject methods will
  20. fail if the arguments exceed 2GB.
  21. Installation
  22. ============
  23. To install this module, you need to:
  24. Download the module and add it to your Odoo addons folder. Afterward, log on to
  25. your Odoo server and go to the Apps menu. Trigger the debug modus and update the
  26. list by clicking on the "Update Apps List" link. Now install the module by
  27. clicking on the install button.
  28. Configuration
  29. =============
  30. No additional configuration is needed to use this module.
  31. Usage
  32. =============
  33. This module has no direct visible effect on the system. It adds a new field type,
  34. which can be used in other modules.
  35. Credits
  36. =======
  37. Contributors
  38. ------------
  39. * Mathias Markl <mathias.markl@mukit.at>
  40. Author & Maintainer
  41. -------------------
  42. This module is maintained by the `MuK IT GmbH <https://www.mukit.at/>`_.
  43. MuK IT is an Austrian company specialized in customizing and extending Odoo.
  44. We develop custom solutions for your individual needs to help you focus on
  45. your strength and expertise to grow your business.
  46. If you want to get in touch please contact us via mail
  47. (sale@mukit.at) or visit our website (https://mukit.at).