Commit Graph
875 Commits
Author SHA1 Message Date
Andrew Kane ae76da0bfc Switched to statically-allocated IndexAmRoutine for Postgres 19 [skip ci] 2026-01-21 16:40:35 -08:00
Andrew Kane 01b17ea5cd Switched to scanner_isspace for Postgres 17+ - resolves #942 2026-01-05 12:54:04 -08:00
Andrew Kane c9f05433dc Removed unneeded check 2025-12-11 16:28:45 -08:00
Andrew Kane 662e19ff31 Improved includes for indexes 2025-12-11 15:35:37 -08:00
Andrew Kane 443fffa389 Improved includes for ivfkmeans [skip ci] 2025-12-11 13:26:36 -08:00
Andrew Kane a9cf3f4749 Improved includes for types 2025-12-11 00:35:18 -08:00
Andrew Kane de4eae305e Keep clang-tidy happy [skip ci] 2025-12-10 20:03:26 -08:00
Andrew Kane feec229045 Fixed inconsistent parameter names [skip ci] 2025-12-10 18:49:00 -08:00
Andrew Kane faedf91349 Fixed compilation errors with Postgres 19 2025-12-10 14:59:29 -08:00
Andrew Kane 5d74bb71f4 Added varatt headers for Postgres 16+ 2025-10-22 11:56:05 -07:00
Andrew Kane b179d78912 Fixed Index Searches in EXPLAIN output for Postgres 18 2025-10-22 11:47:11 -07:00
Andrew Kane da147b1874 Removed unused parameter [skip ci] 2025-09-27 15:58:18 -07:00
Andrew Kane 82fe612c79 Removed unused parameters [skip ci] 2025-09-27 15:51:32 -07:00
Andrew Kane 43515464a2 Version bump to 0.8.1 [skip ci] 2025-09-04 17:51:09 -07:00
Andrew Kane ceb988a787 Fixed compilation error with Postgres 19 2025-09-04 15:58:23 -07:00
Julien RouhaudandGitHub e266061e3b Use NIL for empty lists (#890)
Postgres standard way to check for list emptiness is to compare a pointer to
NIL rather than NULL.
2025-08-23 03:31:22 -07:00
Andrew Kane db9db84ac7 Updated comment [skip ci] 2025-08-19 14:26:36 -07:00
Andrew Kane 9f58cf6207 Improved performance of binary_quantize function for halfvec 2025-08-19 13:47:11 -07:00
Luca GiacchinoandAndrew Kane b4910a0f9b Add autovectorized implementation of binary quantize 2025-08-19 13:18:50 -07:00
Andrew Kane 674e669502 Ran pgindent [skip ci] 2025-08-19 12:44:54 -07:00
Andrew Kane a3d412932a Switched to PG_MODULE_MAGIC_EXT for Postgres 18+ [skip ci] 2025-07-31 19:59:27 -07:00
Andrew Kane 0e9a170f8c Use consistent style [skip ci] 2025-07-27 18:19:28 -07:00
Andrew Kane e3ee02d81e Ran pgindent [skip ci] 2025-06-18 20:07:46 -07:00
Jon DanielandGitHub 34351f923e Vectorizing vector_concat for improved performance (#861)
* Vectorizing vector_concat for improved performance

On an ARM chip this should generate SIMD instructions to copy the two
incoming vectors to the new vector as opposed to doing it all in
software.

* Moving declarations to above CheckDim

* Removing const from dims

* Formatting
2025-06-18 20:06:32 -07:00
Andrew Kane 06e4f97510 Improved variable names [skip ci] 2025-06-18 17:32:37 -07:00
Andrew Kane 03cc9e6176 Ran pgindent [skip ci] 2025-06-18 16:11:15 -07:00
Jon DanielandGitHub 8eb986fa14 vectorize: optimize VectorSumCenter and HalfvecSumCenter (#860)
* vectorize: optimize VectorSumCenter and HalfvecSumCenter

The functions VectorSumCenter and HalfvecSumCenter were not being
vectorized by the compiler. A few slight changes will allow these
optimizations to take place and get a performance boost by utilizing
SIMD instructions.

This optimization helps improve performance of vector operations in IVF
index building and updating.

* Removing const, commenting that it is only vectoirzed on ARM
2025-06-18 16:09:43 -07:00
Andrew Kane d130ab23ca Set random seed for IVFFLAT_BENCH [skip ci] 2025-06-18 10:57:18 -07:00
Andrew Kane c1a7f00523 Revert "Fixed warnings with Postgres 18 [skip ci]"
This reverts commit f903246b35.
2025-04-05 12:56:00 -07:00
Andrew Kane 656301014b Improved warning check [skip ci] 2025-04-05 12:38:30 -07:00
Andrew Kane f903246b35 Fixed warnings with Postgres 18 [skip ci] 2025-04-05 12:13:38 -07:00
Andrew Kane 19fbb2b4f8 Added fields to IndexAmRoutine for Postgres 18 [skip ci] 2025-04-05 11:31:57 -07:00
Andrew Kane 1c62ab95a1 Fixed compilation error with Postgres 18 - fixes #779 2025-02-17 16:38:14 -08:00
Andrew Kane 159f6699f6 Fixed extra-semi warnings [skip ci] 2025-01-18 13:08:11 -08:00
Andrew Kane 6a7c330bc9 Fixed compilation error with Postgres 18 2025-01-10 08:50:51 -08:00
Andrew Kane b7512da1f5 Removed unneeded code 2024-10-30 13:05:10 -07:00
Andrew Kane ca27990361 Removed memory limit debug message from HNSW index scans (EXPLAIN ANALYZE can be used instead) 2024-10-28 13:46:49 -07:00
Andrew Kane 43504f7031 Removed unused variable [skip ci] 2024-10-28 13:38:42 -07:00
Andrew Kane 9753da1ca2 Removed debug message from IVFFlat index scans [skip ci] 2024-10-28 13:36:57 -07:00
Andrew Kane 0d1a6f6169 Updated comment [skip ci] 2024-10-28 00:56:10 -07:00
Andrew Kane 609cd30e1c Scan 2000 more tuples with default work_mem 2024-10-27 22:23:28 -07:00
Andrew Kane 2583b979db Moved code [skip ci] 2024-10-27 22:21:43 -07:00
Andrew Kane 5aff0d203e Use greater than [skip ci] 2024-10-27 21:07:22 -07:00
Andrew Kane d2c79d04d5 Updated comment [skip ci] 2024-10-27 21:05:32 -07:00
Andrew Kane 6395ccaa52 Updated default value of hnsw.scan_mem_multiplier [skip ci] 2024-10-27 21:05:04 -07:00
Andrew Kane 19bd00d90c Ensure max memory fits into Size for HNSW index scans 2024-10-27 14:21:15 -07:00
Andrew Kane c6ecb77152 Renamed iterative_search to iterative_scan 2024-10-27 14:02:22 -07:00
Andrew Kane 220c607a9d Added comments [skip ci] 2024-10-25 21:39:03 -07:00
Andrew Kane 960d4eab3b Revert "Renamed iterative_search to iterative_scan"
This reverts commit 58bc222239.
2024-10-24 20:32:07 -07:00
Andrew Kane 58bc222239 Renamed iterative_search to iterative_scan 2024-10-24 20:31:43 -07:00