Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcZF8-0008ST-DY for psycopg@arkaria.postgresql.org; Tue, 10 Nov 2020 19:23:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcZF7-0001t8-6I for psycopg@arkaria.postgresql.org; Tue, 10 Nov 2020 19:23:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcZF6-0001t1-U4 for psycopg@lists.postgresql.org; Tue, 10 Nov 2020 19:23:49 +0000 Received: from mout.gmx.net ([212.227.17.22]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcZF1-0000mq-SZ for psycopg@lists.postgresql.org; Tue, 10 Nov 2020 19:23:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605036221; bh=I5J2VEoV8o+nGfTeFoOSoCgRHtQ55DoftoffLzF4nLA=; h=X-UI-Sender-Class:From:Cc:Subject:Date:In-Reply-To:References; b=j/1OCnoaJWU1QaVwwDZCQMRjSGB43E4ITlyfiVqieQOKdHJ4M2jiWkpBhbKSUx7t0 co7uMsLHuboFiWIrZVAyTwwvr2GFIMn/collcqUCiiWVHB8l0ItxjYzV0w8hIQLSPL yFRLEonz5nTPpEVSUvSOCRsrBBvZYUFr336nTExo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [217.91.207.107] ([217.91.207.107]) by web-mail.gmx.net (3c-app-gmx-bs26.server.lan [172.19.170.78]) (via HTTP); Tue, 10 Nov 2020 20:23:41 +0100 MIME-Version: 1.0 Message-ID: From: Karsten Hilbert Cc: psycopg@lists.postgresql.org Subject: Aw: Re: psycopg3 and adaptation choices Content-Type: text/plain; charset=UTF-8 Date: Tue, 10 Nov 2020 20:23:41 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <2b9859f0-0964-2baa-b6bc-13f975ae0f67@aklaver.com> <88fb7a7e-a182-a816-c1a7-8a1f54b65215@aklaver.com> <4830fb8d-fa57-e0f8-0e4f-a96ed040dede@dndg.it> <1546497c-ff41-9bd0-b4d7-931bd305caac@dndg.it> <9989BCEF-2CC4-4AA4-9E4E-C83740F21414@thebuild.com> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:P9FdJX3Y6a2A4clQ+bmiP01mElZDbrlX7nu74LQVNbE+Sk4/aCIt+pga/E8Q+4xcIBW56 Pzr3zzbICJY09lhCgdvu9wO/W62poyjC9/mIrc9wWtY6ne7wXkFnyKeNyaBa9HtoFUJOhrXez8MP IdkL7YFlpx7dXRJd8I2OrljGdCXzWop5E+W45NO6AT2cdSJvqyVCNrz0+Y5zEesO0trfneHY5bul 5nUwTH3NEus42X2Y3X5/Cah7vzeEK86D6fk3aLzhS4+ELxAk4xZN8o/xoqCnzOSXUZOGlPLAUIZJ HQ= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tStziF6o1RE=:cLKMkaWoLS+gVn5228BjwM YLxG2AJLaS4SWEyxe1VfOaw+23j0c5D0Iksfx4OZ7bCVy/6QuYHsTTZfyXDad/mkVVOZg9h1f jmr86tdVGPgaI2BoRZ9T6CnK9ZIryRTfsYy66hMR8P9mgHQcvAb4IYFd/eeEi/JrN6V6Xr1Sv 0BwGLh5P98kQMNTFmpJLaosc9XGMLuu3YokMpiI0HV5+29hGGMgU+ZLqXWKo5SYecd9EdOJdq cep1J8cNSx4EBW+naMkssjP+6EamMcAOp1F/ebtynGs6/t5kKO828rhEGe+bxSzG0DjKXZoBf dz7Hu+9aCd6BOlbhD09NCfAEHgl/Gt9HvQkFIj4vuUdTO+Sz8VOnwnXgjvreZmRn/0OKq++kn 1eU798bFZja0gpdOMHCVF5R+tVD/w55AN+xj4oSxuG78H3OreWyymtBoOm8+seL/FnN+7w9A0 mKHnEky1etWRHy3/hlwmzFh0qSls9mnITKQ68ttSsb71tBPJmbTWr8bZ7i3A0c+NSsk2Fxcsq cPo1CfnRh5zSmyTV/OhL8cGk/bHfWweM0JykVuHDk//LGOklG12UBiWpvanGGU7xGHS8cmoVL GvBvkgQh06jQs= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > My particular=C2=A0question is regarding '-2' score for mapping numbers > to 'unknown'=2E > =C2=A0 > Why do you consider it such an important use-case? In my opinion, > such usage is just waste of resources and traffic, I am sometimes round-tripping magic constants to tell which part of a, say= , UNION actually returned the result(s), based on which knowledge the EMR UI will behave slightly differently (say, one is retrieving medications, by matching either of product name or active ingredient, all in one query)=2E I needn't roundtrip ints, sure, but=2E=2E=2E Karsten