public inbox for [email protected]
help / color / mirror / Atom feedFrom: DB Kho <[email protected]>
To: [email protected] <[email protected]>
Cc: [email protected]
Subject: Re: Regarding useObjects
Date: Wed, 4 Oct 2023 19:45:32 +0200 (CEST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <CADK3HHL7JGKre6r0xVTqAQg5Em1zC5McMrgr0v6Dudzfb0DybQ@mail.gmail.com>
References: <[email protected]>
<CAB=Je-HiDQ_pSp5PTfuRUEt6WA5bNNgYWS_8Q6wUHO1qg4=RFQ@mail.gmail.com>
<[email protected]>
<CAB=Je-G=X8UbhjB5HF8d9WS5eZdVUgqopvsocD5_0WpxOHcAyw@mail.gmail.com>
<[email protected]>
<CADK3HH+9O5=Y4RSCxCCBaewGPWBQ3zzTjqD0DoZJuD9wCc73uQ@mail.gmail.com>
<CAB=Je-FzZjbr2bdUFWs7O4cKCfQVfG_miKUZk16-hhh8DS_2EQ@mail.gmail.com>
<[email protected]>
<CADK3HHL7JGKre6r0xVTqAQg5Em1zC5McMrgr0v6Dudzfb0DybQ@mail.gmail.com>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Unsubscribe
</div>
<div class="default-style">
<br>
</div>
<blockquote type="cite">
<div>
Op 27-09-2023 12:17 schreef Dave Cramer <[email protected]>:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div dir="ltr">
<div dir="ltr">
<br>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">
On Wed, 27 Sept 2023 at 06:07, Achilleas Mantzios - cloud <<a href="mailto:[email protected]">[email protected]</a>> wrote:
<br>
</div>
<blockquote>
<div>
<p><br></p>
<div>
On 9/27/23 12:55, Vladimir Sitnikov wrote:
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
> So the problem with using float instead of Float is that it is impossible to have a null float and arrays can have nulls.
<br>
</div>
<div>
<br>
</div>There's a feature request for retrieving primitive arrays: <a target="_blank" href="https://github.com/pgjdbc/pgjdbc/issues/2939"; rel="noopener">https://github.com/pgjdbc/pgjdbc/issues/2939</a;
<br>
</div>
</blockquote>
<p>back in pre-<span style="font-family: monospace;"><span style="color: #000000; background-color: #ffffff;">postgresql-42* </span></span>days we used to use -888 and -888.888 to represent int NULL and float NULL respectively, quite ...primitive but it worked. We should retain this old mapping , but once all systems are up to date we will start storing and reading NULLs in arrays as NULLs.<br></p>
</div>
</blockquote>
<div>
Using that mapping is not something that we would entertain.
</div>
<div>
<br>
</div>
<div>
If you are going to actually store NULL in the array, how would that work with primitives ?
</div>
<div>
<br>
</div>
<div>
Dave
</div>
<blockquote>
<div>
<p><br></p>
<blockquote type="cite">
<div dir="ltr">
<br>Vladimir
<br>
<br>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>
view thread (14+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Regarding useObjects
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox