Search Postgresql Archives

Re: Archive_command

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

 



Martin Marques <martin@xxxxxxxxxxxxxxxxxxx> writes:
> I have a question related to the archive_command option of postgresql.conf.
> In the documentation[1] I found examples that add a "< /dev/null" at the 
> end of the cp command. I know what the redirection from /dev/null does 
> (send an EOF), but is it really needed?

The examples that have that are using "cp -i", and the point of the
redirect is to ensure that cp doesn't eat any input intended for someone
else if it actually does see a conflict (and try to prompt the user).

			regards, tom lane


[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