mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Remove extra newlines at end and beginning of files, add missing newlines
at end of files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$PostgreSQL: pgsql/src/interfaces/ecpg/README.dynSQL,v 1.3 2008/03/21 13:23:28 momjian Exp $
|
||||
$PostgreSQL: pgsql/src/interfaces/ecpg/README.dynSQL,v 1.4 2010/08/19 05:57:34 petere Exp $
|
||||
|
||||
descriptor statements have the following shortcomings
|
||||
|
||||
@@ -9,4 +9,3 @@ descriptor statements have the following shortcomings
|
||||
Since this is not likely to happen in the near future and you
|
||||
can cover the same functionality with the existing infrastructure
|
||||
(using s[n]printf), I'll leave the work to someone else.
|
||||
|
||||
|
||||
@@ -17,4 +17,3 @@
|
||||
/* Define to 1 to build client libraries as thread-safe code.
|
||||
* (--enable-thread-safety) */
|
||||
#undef ENABLE_THREAD_SAFETY
|
||||
|
||||
|
||||
@@ -40,4 +40,3 @@ c) "addon" - the automatic action for the rule (SQL syntax constructed
|
||||
|
||||
Multiple "addon" or "block" lines may appear together with the
|
||||
new code block if the code block is common for those rules.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/perl
|
||||
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/check_rules.pl,v 1.2 2010/01/02 16:58:11 momjian Exp $
|
||||
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/check_rules.pl,v 1.3 2010/08/19 05:57:34 petere Exp $
|
||||
# test parser generater for ecpg
|
||||
# call with backend parser as stdin
|
||||
#
|
||||
@@ -133,4 +133,3 @@ sub generate_block {
|
||||
$s = "\\|", $block =~ s/$s//g;
|
||||
return $block;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.tokens,v 1.2 2009/07/14 20:34:48 tgl Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.tokens,v 1.3 2010/08/19 05:57:34 petere Exp $ */
|
||||
|
||||
/* special embedded SQL tokens */
|
||||
%token SQL_ALLOCATE SQL_AUTOCOMMIT SQL_BOOL SQL_BREAK
|
||||
@@ -25,4 +25,3 @@
|
||||
|
||||
%token CSTRING CVARIABLE CPP_LINE IP
|
||||
%token DOLCONST ECONST NCONST UCONST UIDENT
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.type,v 1.6 2010/01/15 10:44:37 meskes Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.type,v 1.7 2010/08/19 05:57:34 petere Exp $ */
|
||||
%type <str> ECPGAllocateDescr
|
||||
%type <str> ECPGCKeywords
|
||||
%type <str> ECPGColId
|
||||
@@ -143,4 +143,3 @@
|
||||
%type <type> var_type
|
||||
|
||||
%type <action> action
|
||||
|
||||
|
||||
@@ -94,4 +94,3 @@ static void openit(void)
|
||||
{
|
||||
$open c;
|
||||
}
|
||||
|
||||
|
||||
@@ -10,4 +10,3 @@ TESTS = test1 test1.c \
|
||||
test5 test5.c
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
|
||||
@@ -53,4 +53,3 @@ test: thread/prep
|
||||
test: thread/alloc
|
||||
test: thread/descriptor
|
||||
test: connect/test1
|
||||
|
||||
|
||||
@@ -253,4 +253,3 @@ if (sqlca.sqlcode < 0) dosqlprint ( );}
|
||||
#line 95 "test_informix.pgc"
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -445,4 +445,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
@@ -175,4 +175,3 @@ main(void)
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
@@ -159,4 +159,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,4 +40,3 @@ int main(void)
|
||||
|
||||
exit (0);
|
||||
}
|
||||
|
||||
|
||||
@@ -99,7 +99,6 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
|
||||
/* exec sql begin declare section */
|
||||
|
||||
#line 1 "struct.h"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -110,7 +109,7 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
|
||||
|
||||
typedef struct mytype MYTYPE ;
|
||||
|
||||
#line 10 "struct.h"
|
||||
#line 9 "struct.h"
|
||||
|
||||
|
||||
|
||||
@@ -123,40 +122,40 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
|
||||
|
||||
typedef struct mynulltype MYNULLTYPE ;
|
||||
|
||||
#line 20 "struct.h"
|
||||
#line 19 "struct.h"
|
||||
|
||||
|
||||
#line 11 "outofscope.pgc"
|
||||
|
||||
struct mytype {
|
||||
#line 4 "struct.h"
|
||||
#line 3 "struct.h"
|
||||
int id ;
|
||||
|
||||
#line 5 "struct.h"
|
||||
#line 4 "struct.h"
|
||||
char t [ 64 ] ;
|
||||
|
||||
#line 6 "struct.h"
|
||||
#line 5 "struct.h"
|
||||
double d1 ;
|
||||
|
||||
#line 7 "struct.h"
|
||||
#line 6 "struct.h"
|
||||
double d2 ;
|
||||
|
||||
#line 8 "struct.h"
|
||||
#line 7 "struct.h"
|
||||
char c [ 30 ] ;
|
||||
} ; struct mynulltype {
|
||||
#line 14 "struct.h"
|
||||
#line 13 "struct.h"
|
||||
int id ;
|
||||
|
||||
#line 15 "struct.h"
|
||||
#line 14 "struct.h"
|
||||
int t ;
|
||||
|
||||
#line 16 "struct.h"
|
||||
#line 15 "struct.h"
|
||||
int d1 ;
|
||||
|
||||
#line 17 "struct.h"
|
||||
#line 16 "struct.h"
|
||||
int d2 ;
|
||||
|
||||
#line 18 "struct.h"
|
||||
#line 17 "struct.h"
|
||||
int c ;
|
||||
} ;/* exec sql end declare section */
|
||||
#line 12 "outofscope.pgc"
|
||||
|
||||
@@ -214,4 +214,3 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -255,4 +255,3 @@ if (sqlca.sqlcode < 0) sqlprint();}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -10,4 +10,3 @@ TESTS = dt_test dt_test.c \
|
||||
nan_test nan_test.c
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
|
||||
@@ -361,4 +361,3 @@ main(void)
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
@@ -140,4 +140,3 @@ main(void)
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
@@ -95,4 +95,3 @@ main(void)
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,4 +19,3 @@ int main(void)
|
||||
exec sql disconnect;
|
||||
exit (0);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
struct mytype
|
||||
{
|
||||
int id;
|
||||
|
||||
@@ -28,4 +28,3 @@ all: $(TESTS)
|
||||
|
||||
oldexec.c: oldexec.pgc ../regression.h
|
||||
$(ECPG) -r questionmarks -o $@ -I$(srcdir) $<
|
||||
|
||||
|
||||
@@ -11,4 +11,3 @@ TESTS = thread_implicit thread_implicit.c \
|
||||
alloc alloc.c
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
|
||||
@@ -86,4 +86,3 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -92,4 +92,3 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user