]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Drop outdated change behaviour from docs
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 17 Mar 2021 00:08:08 +0000 (01:08 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 17 Mar 2021 00:08:08 +0000 (01:08 +0100)
docs/from_pg2.rst

index ca3d87506339b101c402484e6b8933c3517935e7..394105b9c6f6f529abe8b5e26e54885e631a2f76 100644 (file)
@@ -53,17 +53,6 @@ works for an empty list, whereas an empty tuple would have resulted in an
 error.
 
 
-.. _diff-numbers:
-
-``int`` is stricter
--------------------
-
-Operations involving numbers may fail if the number is passed to a function or
-operator and PostgreSQL expects a :sql:`integer` and not a :sql:`bigint`.
-Examples may be :sql:`date + int`, :sql:`jsonb -> int`. In this case you
-should use an :sql:`::int` cast or the `psycopg3.types.Int4` wrapper.
-
-
 .. _diff-adapt:
 
 Different adaptation system