Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
10 votes
2 answers
4k views

Variable substitution in psql when using \copy

I'm using the psql command \copy and I would like to pass a variable to it from the shell (for table name) like I've done when scripting queries. I've read in the documentation for psql that: The ...
beacon_bonanza's user avatar