summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-05-18 19:03:32 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-05-18 19:03:47 -0400
commite55a5516deeeefac8542639d599fc3bc3ad5f54d (patch)
treeb38d8265b30aef2db61ab1464977757ea3d0dc69
parente21085da56a9905b7224b18389f16a5d65c0fb52 (diff)
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
-rw-r--r--src/interfaces/ecpg/test/expected/sql-sqlda.c4
-rw-r--r--src/interfaces/ecpg/test/sql/sqlda.pgc2
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 7e73d090a8a..b8d91805c97 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;