Aw: Re: psycopg3 and adaptation choices

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To:
Cc: psycopg(at)lists(dot)postgresql(dot)org
Subject: Aw: Re: psycopg3 and adaptation choices
Date: 2020-11-10 19:23:41
Message-ID: trinity-6e09d2e7-5b50-4002-89a6-b6b57f270e35-1605036221003@3c-app-gmx-bs26
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

> My particular question is regarding '-2' score for mapping numbers
> to 'unknown'.
>  
> 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).

I needn't roundtrip ints, sure, but...

Karsten

In response to

Browse psycopg by date

  From Date Subject
Next Message Rory Campbell-Lange 2020-11-10 21:24:11 Re: psycopg3 and adaptation choices
Previous Message Vladimir Ryabtsev 2020-11-10 19:00:28 Re: psycopg3 and adaptation choices