Re: Strange results when casting string to double

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Carsten Klein <c(dot)klein(at)datagis(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Strange results when casting string to double
Date: 2022-02-16 16:46:30
Message-ID: d07e34aa-0c42-f857-39d8-265d63998417@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/16/22 05:27, Carsten Klein wrote:
> Hi there,
>
> I'm using several (now unsupported) PostgreSQL 9.3.24 servers on
> different (ancient) Ubuntu 14.04 LTS machines. On only one of those
> servers, I get strange/wrong results when converting a string into a
> double value:
>

> Has anyone an idea of what's going on here? I know, this version is far
> from still being supported, however, there's not much real changes in
> file float.c between these versions (in other words, this may happen
> with recent versions as well?). The database instances on all servers
> are configured quite the same (more or less).

What is the more or less for the problem server?

Are the hardware(CPU) architectures the same for all the servers?

If not how does the problem server differ?

Was Postgres installed from the same source/same way on all the server?

> All run with the same
> extensions installed; none is using any preloaded libraries (which may
> replace C library function strtod?).
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-02-16 16:57:44 Re: How to disable read-only mode on a table? (superUser)
Previous Message Alexander Farber 2022-02-16 16:24:47 Re: if not exists (SELECT 1... UNION SELECT 1...)