Comments (6)
v. 3.1.21 has the same issue. But I will find workaround :)
ERROR: query failed: ERROR: unexpected reader termination
DETAIL: ERROR: cannot load to partitioned table "orders"
DETAIL: query was: SELECT * FROM pgbulkload.pg_bulkload($1)
from pg_bulkload.
Hello.
Are you asking if the next release of pg_bulkload will support loading into (native) partitioned tables in PG 10?
If so, I would say yes, but not in the upcoming pg_bulkload release. The upcoming release will support PG 10 in general, but will result in error if try to load into the new native partitioned tables. For example, if you create a partitioned table using the new feature of PG 10 as follows:
create table p (a int) partition by list (a);
create table p1 partition of p for values in (1);
create table p2 partition of p for values in (2);
create table p3 partition of p for values in (3);
Then trying to use pg_bulkload to load into p
will fail as follows:
$ pg_bulkload -O p -i /tmp/nums.csv
NOTICE: BULK LOAD START
ERROR: query failed: ERROR: cannot load to partitioned table "p"
DETAIL: query was: SELECT * FROM pg_bulkload($1)
Support for partitioned tables will be added in some later release.
from pg_bulkload.
ok,i know. if the version 3.2 will be support pg10 ingeneral?
from pg_bulkload.
I meant 3.1.14 when I said the upcoming release, not 3.2. So, 3.1.14 will support PG 10.
Work on 3.2 has not progressed much in terms of any new pg_bulkload features, so there is no immediate plan to release 3.2, only maintenance releases, that is 3.1.* releases.
from pg_bulkload.
ok, thank you! I am pg kernel developer from china, and my company uses the pg_bulkload. I wish i can make a little contribution to pg_bulkload in the future.
from pg_bulkload.
Oh, great!
If you have any plans of contributing new features to pg_bulkload (if your company allows it with appropriate legal terms), then the 3.2dev branch would be a good place for that code.
Thanks again.
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.