On Thu, Dec 11, 2003 at 06:36:05PM -0500, Bruce Momjian wrote: > Our dbcommands.c has for create database: > > snprintf(buf, sizeof(buf), "cp -r '%s' '%s'", src_loc, target_dir); > [...] > > I think we should switch to -R in our code.
But you will have to write special code for Win32, won't you? Maybe it would be better to avoid using system commands altogether and copy the whole thing using syscalls ... -- Alvaro Herrera (<[EMAIL PROTECTED]>) "Use it up, wear it out, make it do, or do without" ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html