]> granicus.if.org Git - postgresql/commitdiff
Hot-fix ecpg regression test for missing ecpg_config.h inclusion.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 May 2018 23:03:32 +0000 (19:03 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 May 2018 23:03:47 +0000 (19:03 -0400)
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
src/interfaces/ecpg/test/sql/sqlda.pgc

index 7e73d090a8a4da15ee9e1380c97eaa9cba0da5de..b8d91805c97de3df7390ab40d83f302c15ef22e2 100644 (file)
@@ -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"
index f2c839fc087b295cfb6b95782bb0ada3da683928..d99f7f7e960f8dc4eca4b41d1fa1ae691512bc63 100644 (file)
@@ -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;