diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-06-14 18:18:01 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-06-14 18:18:01 +0000 |
commit | 44d1abebb48d678ac1b75f6556c68c9634cb235b (patch) | |
tree | fe1efd24fb2fa1565bb69533583bda1e94f13a08 /src/backend/commands/copy.c | |
parent | 4786a808d9f58746ebb77bf78a6ae2d0854cd6b9 (diff) | |
download | postgresql-44d1abebb48d678ac1b75f6556c68c9634cb235b.tar.gz postgresql-44d1abebb48d678ac1b75f6556c68c9634cb235b.zip |
Big warnings cleanup for Solaris/GCC. Down to about 40 now, but
we'll get there one day.
Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
have automake installed.
Only run the autoconf rule in the top-level GNUmakefile if the
invoker specified `make configure', don't run it automatically
because of CVS timestamp skew.
Diffstat (limited to 'src/backend/commands/copy.c')
-rw-r--r-- | src/backend/commands/copy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index d495b186cc5..bb1bf1734b6 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.112 2000/06/05 17:07:56 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.113 2000/06/14 18:17:25 petere Exp $ * *------------------------------------------------------------------------- */ @@ -325,7 +325,7 @@ DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe, elog(ERROR, "COPY command, running in backend with " "effective uid %d, could not open file '%s' for " "reading. Errno = %s (%d).", - geteuid(), filename, strerror(errno), errno); + (int) geteuid(), filename, strerror(errno), errno); } CopyFrom(rel, binary, oids, fp, delim, null_print); } @@ -358,7 +358,7 @@ DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe, elog(ERROR, "COPY command, running in backend with " "effective uid %d, could not open file '%s' for " "writing. Errno = %s (%d).", - geteuid(), filename, strerror(errno), errno); + (int) geteuid(), filename, strerror(errno), errno); } CopyTo(rel, binary, oids, fp, delim, null_print); } |