Home > Archive > PostgreSQL Administration > January 2006 > Re:









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re:
Tom Lane

2006-01-26, 4:59 pm

<Aniko.Badzong@swisscom.com> writes:
> [test] su - postgres -c "echo \"copy test from '/data/log/bla';"\" |
> psql logdb"
> Unmatched ".


> somehow does not want to work.


You've got too many quote marks.

su - postgres -c "echo \"copy test from '/data/log/bla';\" | psql logdb"

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com