mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Simplified regression handling
Added patch by Joachim to work around OpenBSD bug in regression suite.
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
@ -8,6 +7,7 @@ int ecpg_internal_regression_mode = 1;
|
||||
/* Needed for informix compatibility */
|
||||
#include <ecpg_informix.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "charfuncs.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
@ -8,6 +7,7 @@ int ecpg_internal_regression_mode = 1;
|
||||
/* Needed for informix compatibility */
|
||||
#include <ecpg_informix.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "dec_test.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
@ -8,6 +7,7 @@ int ecpg_internal_regression_mode = 1;
|
||||
/* Needed for informix compatibility */
|
||||
#include <ecpg_informix.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "rfmtdate.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
@ -8,6 +7,7 @@ int ecpg_internal_regression_mode = 1;
|
||||
/* Needed for informix compatibility */
|
||||
#include <ecpg_informix.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "rfmtlong.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
@ -8,6 +7,7 @@ int ecpg_internal_regression_mode = 1;
|
||||
/* Needed for informix compatibility */
|
||||
#include <ecpg_informix.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "rnull.pgc"
|
||||
#include "sqltypes.h"
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
@ -8,6 +7,7 @@ int ecpg_internal_regression_mode = 1;
|
||||
/* Needed for informix compatibility */
|
||||
#include <ecpg_informix.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "test_informix.pgc"
|
||||
#include "sqltypes.h"
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
@ -8,6 +7,7 @@ int ecpg_internal_regression_mode = 1;
|
||||
/* Needed for informix compatibility */
|
||||
#include <ecpg_informix.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "test_informix2.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "test1.pgc"
|
||||
/*
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "test2.pgc"
|
||||
/*
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "test3.pgc"
|
||||
/*
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "test4.pgc"
|
||||
#include <stdlib.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "test5.pgc"
|
||||
/*
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "dt_test.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "dt_test2.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "num_test.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "num_test2.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "comment.pgc"
|
||||
#include <stdlib.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "define.pgc"
|
||||
#include <stdlib.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "init.pgc"
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "type.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "variable.pgc"
|
||||
#include <stdlib.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "whenever.pgc"
|
||||
#include <stdlib.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "array.pgc"
|
||||
#include <locale.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "binary.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "code100.pgc"
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "copystdout.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "define.pgc"
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "desc.pgc"
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "dynalloc.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "dynalloc2.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "dyntest.pgc"
|
||||
/* dynamic SQL test program
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "execute.pgc"
|
||||
#include <stdlib.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "fetch.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "func.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "indicators.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "quote.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "show.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "update.pgc"
|
||||
#include <stdio.h>
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "thread.pgc"
|
||||
/*
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Processed by ecpg (regression mode) */
|
||||
int ecpg_internal_regression_mode = 1;
|
||||
/* These include files are added by the preprocessor */
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpglib.h>
|
||||
#include <ecpgerrno.h>
|
||||
#include <sqlca.h>
|
||||
/* End of automatic include section */
|
||||
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
|
||||
|
||||
#line 1 "thread_implicit.pgc"
|
||||
/*
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress.sh,v 1.16 2007/01/11 15:47:33 meskes Exp $
|
||||
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress.sh,v 1.17 2007/01/12 10:00:13 meskes Exp $
|
||||
|
||||
me=`basename $0`
|
||||
|
||||
@ -740,6 +740,11 @@ for i in \
|
||||
*-*-mingw32*)
|
||||
PLATFORM_TAG="-MinGW32"
|
||||
;;
|
||||
*-*-openbsd3.8)
|
||||
# OpenBSD 3.8 is buggy:
|
||||
# http://archives.postgresql.org/pgsql-hackers/2006-09/msg00593.php
|
||||
PLATFORM_TAG="-OpenBSD3.8.broken"
|
||||
;;
|
||||
esac
|
||||
|
||||
outfile_stderr="$outputdir/$outprg.stderr"
|
||||
@ -749,24 +754,6 @@ for i in \
|
||||
# echo "$runprg > $outfile_stdout 2> $outfile_stderr"
|
||||
$runprg > "$outfile_stdout" 2> "$outfile_stderr"
|
||||
|
||||
# If we don't run on the default port we'll get different output
|
||||
# so tweak output files and replace the port number (we put a warning
|
||||
# but the price to pay is that we have to tweak the files every time
|
||||
# now not only if the port differs from the standard port).
|
||||
#if [ "$i" = "connect/test1.pgc" ]; then
|
||||
# can we use sed -i on all platforms?
|
||||
# for f in "$outfile_stderr" "$outfile_stdout" "$outfile_source"; do
|
||||
# mv $f $f.tmp
|
||||
# echo >> $f
|
||||
# echo "THE PORT NUMBER MIGHT HAVE BEEN CHANGED BY THE REGRESSION SCRIPT" >> $f
|
||||
# echo >> $f
|
||||
# MinGW could return such a line:
|
||||
# "could not connect to server: Connection refused (0x0000274D/10061)"
|
||||
#cat $f.tmp | sed -e s,$PGPORT,55432,g | sed -e "s,could not connect to server: Connection refused (0x.*/.*),could not connect to server: Connection refused,g" >> $f
|
||||
# rm $f.tmp
|
||||
# done
|
||||
#fi
|
||||
|
||||
mv "$outfile_source" "$outfile_source.tmp"
|
||||
cat "$outfile_source.tmp" | sed -e 's,^\(#line [0-9]*\) ".*/\([^/]*\)",\1 "\2",' > "$outfile_source"
|
||||
rm "$outfile_source.tmp"
|
||||
|
Reference in New Issue
Block a user