Comments (6)
Hey @cdtaichen, can you try the windows
branch? https://github.com/pgvector/pgvector/compare/windows
This adds PGDLLEXPORT
, which may help (from looking at this thread).
from pgvector.
Ok, I will try this right now, thanks!
from pgvector.
Great. Would also be good to see the error message from the Postgres server log when it crashes (not sure where that'll be on Windows).
from pgvector.
fwiw, I was able to get the tests passing with MSYS2 (without the PGDLLEXPORT
change).
Code: https://github.com/pgvector/pgvector/blob/windows-ci/.github/workflows/build.yml
Logs: https://github.com/pgvector/pgvector/actions/runs/3201375566/jobs/5229281611
from pgvector.
Hi Kane,
This is my GCC compile batch file, is it ok for this project?
//---
@echo Compile Windows Dll using GCC
@echo.
@echo off
gcc -shared -W ^
-std=c99 ^
-fPIC ^
src/ivfbuild.c src/ivfflat.c src/ivfinsert.c src/ivfkmeans.c src/ivfscan.c src/ivfutils.c src/ivfvacuum.c src/vector.c ^
-o vector.dll ^
-I ../../../_Include/Kernel/TCDBLib/PostgreSQL/PG14/server/port/win32_msvc ^
-I ../../../_Include/Kernel/TCDBLib/PostgreSQL/PG14/server/port/win32 ^
-I ../../../_Include/Kernel/TCDBLib/PostgreSQL/PG14/server ^
-I ../../../_Include/Kernel/TCDBLib/PostgreSQL/PG14 ^
-L ../../../_Output/Runtime/PostgreSQL/PG14/lib ^
-l:postgres.lib ^
-l:libpgcommon.lib ^
-l:libpgport.lib
pause
from pgvector.
Sorry echo, it looks like you were accidentally tagged. Moved to #38 to reduce noise.
from pgvector.
Related Issues (20)
- pg-vector not using hnsw indexes HOT 9
- IS it a bug or a feature HOT 1
- Theory behind HNSW HOT 1
- HNSW index building slow for large table HOT 2
- Could the repo start using the Releases tab? HOT 2
- ERROR: extension "vector" has no installation script nor update path for version "0.6.2" HOT 1
- 0.7.0 Plan
- I have a question about vector structure HOT 2
- Is pgVector performance competitive compared to other VectorDBs HOT 2
- Not able to connect with some named database HOT 1
- vector extension creation in docker image
- Unable to connect to server in pgadmin 4 HOT 2
- HNSW index is not used on 0.5.1 HOT 2
- Trouble on installing with mac (M1) HOT 10
- Error when installing pgvector on M1 with Postgresql 15.2 HOT 3
- apt install postgresql-16-pgvector is not found HOT 9
- Error building docker image (make: *** No rule to make target 'clean'. Stop.) HOT 2
- Server crashes when running tests on postgres built with ASAN HOT 2
- Are either int8 or fp8 vectors planned? HOT 4
- Query planner does not seem to be using HNSW index HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgvector.