pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feedFrom: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] commit 1b337ad97da0
Date: Mon, 30 Sep 2024 01:18:27 +0000
Message-ID: <gh-pgvector-pgvector-cc147362179@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-cs-1b337ad97da0@github.com>
References: <gh-pgvector-pgvector-cs-1b337ad97da0@github.com>
@ankane This is breaking compilation for me on Ubuntu 22.04:
- PostgreSQL 16.4
- gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Suggested fix:
```
#include "utils/float.h"
// ...
so->previousDistance = -get_float8_infinity();
```
e.g. [https://doxygen.postgresql.org/float_8c_source.html#l00396](https://doxygen.postgresql.org/float_8c_source.html#l00396)
Message-ID: <gh-pgvector-pgvector-cc147362179@github.com>
Permalink: ../gh-pgvector-pgvector-cc147362179@github.com/
·
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox