Search Postgresql Archives

Re: copy command - something not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually, the -c was in an example of a copy command that I found while working at my last job. I tried executing the command without the -c and got the same results as before, so I suppose I really don't know what it means.

Can you enlighten me?

 

---
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Susan E Hurst Principal Consultant Brookhurst Data LLC Email: susan.hurst@xxxxxxxxxxxxxxxxxx Mobile: 314-486-3261

On 2020-12-29 13:23, David G. Johnston wrote:


On Tuesday, December 29, 2020, Susan Hurst <susan.hurst@xxxxxxxxxxxxxxxxxx> wrote:

##-- shell script command
psql -c < ${CSVPATH}copycmd.z
 
Given the meaning of “-c” what are you expecting that to do?
 
David J.
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux