postgres.git / summary / log / commit / refs
commit 54ae787ca732f7627ca2e5e000b21d42aec1c17b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri May 18 23:03:32 2018 +0000
First released in: 11.0, 9.3.24, 9.4.19, 9.5.14, 9.6.10, 10.5
Hot-fix ecpg regression test for missing ecpg_config.h inclusion.
I don't think this is really the best long-term answer, and in
particular it doesn't fix the pre-existing hazard in sqltypes.h.
But for the moment let's just try to make the buildfarm green again.
Discussion: https://postgr.es/m/151935568942.1461.14623890240535309745@wrigleys.postgresql.org
src/interfaces/ecpg/test/expected/sql-sqlda.c | 4 ++--
src/interfaces/ecpg/test/sql/sqlda.pgc | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/interfaces/ecpg/test/expected/sql-sqlda.c b/src/interfaces/ecpg/test/expected/sql-sqlda.c
index 7645dff0dd3..9aa24cfa5eb 100644
--- a/src/interfaces/ecpg/test/expected/sql-sqlda.c
+++ b/src/interfaces/ecpg/test/expected/sql-sqlda.c
@@ -10,6 +10,7 @@
#include <stdlib.h>
#include <string.h>
#include <limits.h>
+#include "ecpg_config.h"
#line 1 "regression.h"
@@ -19,8 +20,7 @@
-#line 5 "sqlda.pgc"
-
+#line 6 "sqlda.pgc"
#line 1 "sqlda.h"
diff --git a/src/interfaces/ecpg/test/sql/sqlda.pgc b/src/interfaces/ecpg/test/sql/sqlda.pgc
index f2c839fc087..d99f7f7e960 100644
--- a/src/interfaces/ecpg/test/sql/sqlda.pgc
+++ b/src/interfaces/ecpg/test/sql/sqlda.pgc
@@ -1,9 +1,9 @@
#include <stdlib.h>
#include <string.h>
#include <limits.h>
+#include "ecpg_config.h"
exec sql include ../regression;
-
exec sql include sqlda.h;
exec sql include pgtypes_numeric.h;
[parent: e75c832b29b1]