Comments (3)
Hi, Thank you for reporting.
But we have not maintained a Windows support for a long time.
We are discussing about it. Please wait.
Or we welcome to your pull request!
from pg_bulkload.
I figured BinaryParam
is a reserved name for some other type in some of libraries, so I renamed it to LocalBinaryParam
throughout the whole project.
Then I simply removed __attribute__
format strings because Visual Studio doesn't seem to know what that is, although mingw was ok with it.
After that I was able to build pg_bulkload_exe, but I still fail building the dll. Here's the errors I get:
1>parser_binary.obj : error LNK2001: unresolved external symbol LocalBinaryParam
1>parser_binary.obj : error LNK2001: unresolved external symbol BinaryDumpParams
1>pg_btree.obj : error LNK2001: unresolved external symbol wal_level
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterDumpParams
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterClose
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterCreate
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterInit
1>pg_bulkload.obj : error LNK2001: unresolved external symbol WriterParam
1>reader.obj : error LNK2001: unresolved external symbol pg_enc2name_tbl
1>writer_buffered.obj : error LNK2001: unresolved external symbol ON_DUPLICATE_NAMES
1>writer_buffered.obj : error LNK2001: unresolved external symbol get_relation_name
1>writer_parallel.obj : error LNK2001: unresolved external symbol setenv
1>...\pg_bulkload_319\msvc\/bin/x64/9.0/lib//pg_bulkload.dll : fatal error LNK1120: 12 unresolved externals
Some of these references seem to be related to libpq.lib or postgres.lib, but others (especially LocalBinaryParam since we implement it on our own) I have no idea why they can't be resolved.
from pg_bulkload.
Hi @1803 , Thank you for a more detail information.
But unfortunately we can't support Windows environments because we don't have Visual Studio and a developer of experience of Windows environments. So we couldn't help you.
If you could resolve this issue, please share the knowledge.
from pg_bulkload.
Related Issues (20)
- new lines in fields HOT 2
- delimiter - extended string syntax
- failed to install HOT 7
- unable to load to citus distributed table
- PostgreSQL 15 support HOT 4
- Cannot Make HOT 4
- update deprecated actoins for github actions
- Make impossible on Ubuntu HOT 6
- Error on Ubuntu
- Extension version pg_bulkload mistake HOT 6
- rpmbuild issue and question
- what is recovery command's major purpose ?
- pg_bulkload on PG13 fails to handle large data duplicates HOT 8
- missing img in the doc
- PostgreSQL 16 support HOT 5
- how to used in windows10/11?
- Put the source code into the contrib directory and use "make". Compile failed HOT 1
- How to filter rows (WHERE CLAUSE)
- Bad table attributes count when parsing
- Bulkload with Input type function ERROR :trying to store minimal tuple into wrong type of slot
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 pg_bulkload.