1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-23 14:01:44 +03:00

pgindent run.

This commit is contained in:
Bruce Momjian
2003-08-04 00:43:34 +00:00
parent 63354a0228
commit 089003fb46
554 changed files with 24888 additions and 21245 deletions

View File

@ -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)
{