diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-12-15 22:56:44 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-12-15 22:56:44 +0000 |
commit | 19055b78ef328fbe1d473c20135e871556aa96bd (patch) | |
tree | 017b6a3b21bd9b27179add94fb5eb03a796b0692 /src/backend/commands/dbcommands.c | |
parent | 34cb0f7b4655eae9e73f35f2269851badcac76dd (diff) | |
download | postgresql-19055b78ef328fbe1d473c20135e871556aa96bd.tar.gz postgresql-19055b78ef328fbe1d473c20135e871556aa96bd.zip |
Add mention with might need to use cp -R someday for portability.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
-rw-r--r-- | src/backend/commands/dbcommands.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c index c57facb2e76..91cccd5cacd 100644 --- a/src/backend/commands/dbcommands.c +++ b/src/backend/commands/dbcommands.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/dbcommands.c,v 1.128 2003/11/29 19:51:47 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/commands/dbcommands.c,v 1.129 2003/12/15 22:56:44 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -362,6 +362,7 @@ createdb(const CreatedbStmt *stmt) * rewrite to do it for ourselves. */ #ifndef WIN32 + /* We might need to use cp -R one day for portability */ snprintf(buf, sizeof(buf), "cp -r '%s' '%s'", src_loc, target_dir); if (system(buf) != 0) { |