aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/copy.c')
-rw-r--r--src/bin/psql/copy.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/bin/psql/copy.c b/src/bin/psql/copy.c
index d45fecc539c..6694624cad5 100644
--- a/src/bin/psql/copy.c
+++ b/src/bin/psql/copy.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/copy.c,v 1.31 2003/07/23 08:47:39 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/copy.c,v 1.32 2003/08/04 00:43:29 momjian Exp $
*/
#include "postgres_fe.h"
#include "copy.h"
@@ -28,8 +28,8 @@
#ifdef WIN32
#define strcasecmp(x,y) stricmp(x,y)
-#define __S_ISTYPE(mode, mask) (((mode) & S_IFMT) == (mask))
-#define S_ISDIR(mode) __S_ISTYPE((mode), S_IFDIR)
+#define __S_ISTYPE(mode, mask) (((mode) & S_IFMT) == (mask))
+#define S_ISDIR(mode) __S_ISTYPE((mode), S_IFDIR)
#endif
/*
@@ -142,8 +142,9 @@ parse_slash_copy(const char *args)
goto error;
/*
- * strtokx() will not have returned a multi-character token starting with
- * '.', so we don't need strcmp() here. Likewise for '(', etc, below.
+ * strtokx() will not have returned a multi-character token starting
+ * with '.', so we don't need strcmp() here. Likewise for '(', etc,
+ * below.
*/
if (token[0] == '.')
{
@@ -188,8 +189,7 @@ parse_slash_copy(const char *args)
}
/*
- * Allows old COPY syntax for backward compatibility
- * 2002-06-19
+ * Allows old COPY syntax for backward compatibility 2002-06-19
*/
if (strcasecmp(token, "with") == 0)
{
@@ -227,8 +227,7 @@ parse_slash_copy(const char *args)
0, false, pset.encoding);
/*
- * Allows old COPY syntax for backward compatibility
- * 2002-06-19
+ * Allows old COPY syntax for backward compatibility 2002-06-19
*/
if (token && strcasecmp(token, "using") == 0)
{