Commit 6d0b0486 authored by Marco Pivetta's avatar Marco Pivetta

Merge pull request #653 from exi/documentation-fix-postgresql-object-type

Update docs to include warning when using object type with PostgreSQL
parents 81aec7ca 4a40d4c4
......@@ -403,6 +403,13 @@ using deserialization or ``null`` if no data is present.
properly on vendors not supporting column comments and will fall back to
``text`` type instead.
.. warning::
Because the build-in ``text`` type of PostgreSQL does not support NULL bytes,
the object type will cause deserialization errors on PostgreSQL. A workaround is
to ``serialize()``/``unserialize()`` and ``base64_encode()``/``base64_decode()`` PHP objects and store
them into a ``text`` field manually.
Mapping Matrix
--------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment