1

I am trying to COPY data from CSV to container

From postgres container shell

$COPY
copy command not found 

also tried \copy

but createdb and dropdb works for me.

1 Answer 1

2

COPY is not a bash shell command, it's a command run within the psql database query shell.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.