Author: |
MuK IT |
License: |
AGPL-3 |
Branch: |
10.0 |
Repository: |
BlueConnectBR/muk_base |
Dependencies: |
base |
Languages: |
HTML (83, 31.9%),
Markdown (9, 3.5%),
and
Python (168, 64.6%) |
Other branches: |
11.0,
12.0,
and
13.0 |
Other repositories: |
AITIC/muk_base,
ChinaShrimp/muk_base,
ERPLibre/muk_base,
EdyKend/muk_base,
Guobower/muk_base,
ITPerfectionists/muk_base,
Intesco2-0/muk_base,
Jeisonpernia/muk_base,
JohnLYH/muk_base,
Kalway-Technology/muk_base,
KonaERP/muk_base,
Leuan12/muk_base,
MaitreDede/muk_base,
MathBenTech/muk_base,
Muhamed-Git/muk_base,
NCS-75/muk_base,
OCA-MUK/muk_base,
OdooBulgaria/muk_base,
Posland/muk_base,
PrenorSistemas/muk_base,
RahmatNS/muk_base,
SDIsl/muk_base,
SanteLibre/muk_base,
SeuMarco/muk_base,
ad1ltd/muk_base,
ajinvn2019/muk_base,
aravinthu/muk_base,
asoral/muk_base,
boky1993/muk_base,
claro5/muk_base,
crnd-inc/muk_base,
dndoanh/muk_base,
drmedrme/muk_base,
dsasoftware/muk_base,
dunxiangyu/muk_base,
ejprice/muk_base,
erick-alvino/muk_base,
gastonfeng/muk_base,
gstrainovic/odoo-12-docker-compose-qms-dms-ssl,
hefeilaowang/muk_base,
huahyong/muk_base,
ideaspositivas-group/muk_base,
ip-candres/muk_base,
jacky82669513/muk_base,
jashan510/muk_base,
jason156/muk_base,
joyinfo/muk_base,
klcftm/muk_base,
kopeyev/muk_base,
l327253678/muk_base,
leangjia/muk_base,
lipengfei911/muk_base,
lpajaresv/muk_base,
m9rio/muk_base,
marcelsavegnago/muk_base,
maxellini/muk_base,
mcjulian1107/muk_base,
mfhm95/muk_base,
mgielissen/muk_base,
muk-it/muk_base,
myceliandre/muk_base,
nelsonramirezs/muk_base,
niulinlnc/muk_base,
odoo-modules/muk_base,
ondrong/muk_base,
one2pret/muk_base,
pasgou/muk_base,
ravishekharco/muk_base,
redblow/muk_base,
sasakuma/muk_base,
sbejaoui/muk_base,
sc4you/muk_base,
scbrianti/muk_base,
sewisoft/muk_base,
shiram/muk_base,
sm2x/muk_base,
tate11/muk_base,
tongjiou/muk_base,
trung8358573/muk_base,
unitek-solusi/muk_base,
vincenzodiroberto/muk_base,
and
vkuldeep/muk_base |
<h1>MuK Large Objects Field</h1>
<p>PostgreSQL offers support for large objects, which provide stream-style access to user data that is stored in a special large-object structure. They are useful with data values too large to be manipulated conveniently as a whole.</p>
<p>Psycopg allows access to the large object using the <code>lobject</code> class. Objects are generated using the <code>connection.lobject()</code> factory method. Data can be retrieved either as bytes or as Unicode strings.</p>
<p>Psycopg large object support efficient import/export with file system files using the <code>lo_import()</code> and <code>lo_export()</code> libpq functions.</p>
<p>Changed in version 2.6: added support for large objects greated than 2GB. Note that the support is enabled only if all the following conditions are verified:</p>
<ul>
<li>the Python build is 64 bits;</li>
<li>the extension was built against at least libpq 9.3;</li>
<li>the server version is at least PostgreSQL 9.3 (server_version must be >= 90300).</li>
</ul>
<p>If Psycopg was built with 64 bits large objects support (i.e. the first two contidions above are verified), the <code>psycopg2.__version__</code> constant will contain the lo64 flag. If any of the contition is not met several lobject methods will fail if the arguments exceed 2GB.</p>