pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feed[pgvector/pgvector] PR #942: Rename array_isspace into scanner_isspace in the comment
3+ messages / 2 participants
[nested] [flat]
* [pgvector/pgvector] PR #942: Rename array_isspace into scanner_isspace in the comment
@ 2025-12-31 02:13 "ivan-v-kush (@ivan-v-kush)" <noreply+ivan-v-kush@github.com>
0 siblings, 0 replies; 3+ messages in thread
From: ivan-v-kush (@ivan-v-kush) @ 2025-12-31 02:13 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
`array_isspace` was removed from PG in https://github.com/postgres/postgres/commit/ae6d06f09684d8f8a7084514c9b35a274babca61
Currently `scanner_isspace` is used everywhere
inline patch 1: src/vector.c (+1/-1 lines) download inline-1.patch
diff --git a/src/vector.c b/src/vector.c
index 473683801..b38b091cb 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -130,7 +130,7 @@ InitVector(int dim)
}
/*
- * Check for whitespace, since array_isspace() is static
+ * Check for whitespace, since scanner_isspace() is static
*/
static inline bool
vector_isspace(char ch)
^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] PR #942: Rename array_isspace into scanner_isspace in the comment
@ 2026-01-05 20:55 ` "ankane (@ankane)" <noreply+ankane@github.com>
1 sibling, 0 replies; 3+ messages in thread
From: ankane (@ankane) @ 2026-01-05 20:55 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
@ankane closed this.
^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] PR #942: Rename array_isspace into scanner_isspace in the comment
@ 2026-01-05 20:57 ` "ankane (@ankane)" <noreply+ankane@github.com>
1 sibling, 0 replies; 3+ messages in thread
From: ankane (@ankane) @ 2026-01-05 20:57 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Hi @ivan-v-kush, thanks for sharing. Updated each type to use `scanner_isspace` for Postgres 17+ in the commit above.
^ permalink raw [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-01-05 20:57 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-12-31 02:13 [pgvector/pgvector] PR #942: Rename array_isspace into scanner_isspace in the comment "ivan-v-kush (@ivan-v-kush)" <noreply+ivan-v-kush@github.com>
2026-01-05 20:55 ` "ankane (@ankane)" <noreply+ankane@github.com>
2026-01-05 20:57 ` "ankane (@ankane)" <noreply+ankane@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