fprintf(yyout,"/* These include files are added by the preprocessor */\n#include <ecpgtype.h>\n#include <ecpglib.h>\n#include <ecpgerrno.h>\n#include <sqlca.h>\n");
# 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