]> 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:32 +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 97821765a918bb175e467e89f6871cc5548d6368..81d26b3a9724cf6ae070567e6a6c6b24e048dc8a 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 5c7fbca2cfd8f6d06e2da72fa899ce459dfe05c7..0f2059f670c55d51194b9b9bd783061d1d869803 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;