Eunjung87 opened a new issue #16525:
URL: https://github.com/apache/shardingsphere/issues/16525


   ## Question
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub 
issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere 
Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot reproduce it on current information, we 
will **close it**.
   
   Hello, I encountered the following error while trying to migrate data using 
sharding-proxy.
   The test database is postgeSQL. 
   
   ```
   sharding_db=> insert into person select * from person2;
   **ERROR:  java.lang.NullPointerException**
   sharding_db=> \copy person from '/home/agens/person_0_0.csv' delimiter '|' 
csv header ;
   **ERROR:  COPY from stdin failed: COPY commands are only supported using the 
CopyManager API.**
   CONTEXT:  COPY person, line 1
   ```
   
   Doesn't it support postgresql's COPY FROM and INSERT INTO SELECT statements 
or pg_dump now?
   If so, are there any plans to support that feature?
   
   Then, when using shardingsphere for the first time in postgresql, if data 
needs to be migrated, how should it be migrated?
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to