diff options
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index c9d8c32f92d..51eb8fabcf2 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.521 2007/01/05 22:19:39 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.522 2007/02/10 14:58:55 petere Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2846,7 +2846,7 @@ PostgresMain(int argc, char *argv[], const char *username) case 'r': /* send output (stdout and stderr) to the given file */ if (secure) - StrNCpy(OutputFileName, optarg, MAXPGPATH); + strlcpy(OutputFileName, optarg, MAXPGPATH); break; case 'S': |