From 6caf57dda52d97d574072f0d24f70826ee01e663 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 17 Mar 2021 01:08:08 +0100 Subject: [PATCH] Drop outdated change behaviour from docs --- docs/from_pg2.rst | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/from_pg2.rst b/docs/from_pg2.rst index ca3d87506..394105b9c 100644 --- a/docs/from_pg2.rst +++ b/docs/from_pg2.rst @@ -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 -- 2.47.3