pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #917: Concatenate operator || appears not to be available in version 0.8.2
6+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #917: Concatenate operator || appears not to be available in version 0.8.2
@ 2025-10-30 12:17 "janhec (@janhec)" <noreply+janhec@github.com>
  0 siblings, 0 replies; 6+ messages in thread

From: janhec (@janhec) @ 2025-10-30 12:17 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

This  is what I found after installing the latest:
SELECT vector('[0, 0, 0, 0]') || vector('[0, 0, 0, 0]') AS repeated_vector;
ERROR:  operator does not exist: vector || vector
(postgresql version 16.3)
I do not know whether concatenations works in older versions >= 0.7.0.

Edit: I reinstalled when still having an earlier 0.6.2 version and assumed the new version would propagate.
However, when I finally checked the vector extension version in pgadmin, it still said 0.6.2. Making it 0.8.1 resolved the problem.

Also, during nmake it appears that upgrading is not quite integrated, since nmake tries to create the vector subdirectory in the postgresql tree and fails when it exists.
So I attached my makefile.win modification as .txt.

Therefore, if you wish to close this, that is fine.

[Makefile.win.txt](https://github.com/user-attachments/files/23234288/Makefile.win.txt)

^ permalink  raw  [nested|flat] 6+ messages in thread

* Re: [pgvector/pgvector] issue #917: Concatenate operator || appears not to be available in version 0.8.2
@ 2025-10-30 12:26 ` "janhec (@janhec)" <noreply+janhec@github.com>
  4 siblings, 0 replies; 6+ messages in thread

From: janhec (@janhec) @ 2025-10-30 12:26 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Using postgresql for research and not being a properly educated administrator, I just also realized that the version upgrade cannot possibly propagate from the installer to the databases using the extension, since the installer does not know about these databases and cannot access them either.
Still, a bit of text in the docs/readme about upgrading would be welcome!

^ permalink  raw  [nested|flat] 6+ messages in thread

* Re: [pgvector/pgvector] issue #917: Concatenate operator || appears not to be available in version 0.8.2
@ 2025-10-30 17:14 ` "ankane (@ankane)" <noreply+ankane@github.com>
  4 siblings, 0 replies; 6+ messages in thread

From: ankane (@ankane) @ 2025-10-30 17:14 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @janhec, see the [upgrading docs](https://github.com/pgvector/pgvector?tab=readme-ov-file#upgrading).

^ permalink  raw  [nested|flat] 6+ messages in thread

* Re: [pgvector/pgvector] issue #917: Concatenate operator || appears not to be available in version 0.8.2
@ 2025-10-30 17:14 ` "ankane (@ankane)" <noreply+ankane@github.com>
  4 siblings, 0 replies; 6+ messages in thread

From: ankane (@ankane) @ 2025-10-30 17:14 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 6+ messages in thread

* Re: [pgvector/pgvector] issue #917: Concatenate operator || appears not to be available in version 0.8.2
@ 2025-10-30 18:12 ` "ankane (@ankane)" <noreply+ankane@github.com>
  4 siblings, 0 replies; 6+ messages in thread

From: ankane (@ankane) @ 2025-10-30 18:12 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Also, just realized what you were saying about the existing directory, so fixed in the commit above. Thanks for reporting it.

^ permalink  raw  [nested|flat] 6+ messages in thread

* Re: [pgvector/pgvector] issue #917: Concatenate operator || appears not to be available in version 0.8.2
@ 2025-10-30 18:25 ` "janhec (@janhec)" <noreply+janhec@github.com>
  4 siblings, 0 replies; 6+ messages in thread

From: janhec (@janhec) @ 2025-10-30 18:25 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @ankane, you are quite right about the upgrading docs.  I seem  to miss some of this at times, perhaps too impatient or too easily distracted...

^ permalink  raw  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2025-10-30 18:25 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-10-30 12:17 [pgvector/pgvector] issue #917: Concatenate operator || appears not to be available in version 0.8.2 "janhec (@janhec)" <noreply+janhec@github.com>
2025-10-30 12:26 ` "janhec (@janhec)" <noreply+janhec@github.com>
2025-10-30 17:14 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-10-30 17:14 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-10-30 18:12 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-10-30 18:25 ` "janhec (@janhec)" <noreply+janhec@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