Changed variable test to not run into infinite loops on backend errors.
index b866975d3fdda4343f2fb7cd0378c9d90f24fcca..aacd2e26d0dffab7734e5e62c2bdfc018cfd34de 100644 (file)
- Do not try to find local timezone in DecodeDateTime() because the
result is not used anyway. This also fixes Vista's build problems.
+
+Sun, 27 May 2007 13:14:39 +0200
+
+ - Changed variable test to not run into infinite loops on backend
+ errors.
- Set ecpg version to 4.3.1.
index 5836d6eb268629e4c74885172b82cea61fb2e89a..dcc575f8b4b627dfac1f761e962762cab788e9c6 100644 (file)
exec sql include ../regression;
-exec sql whenever sqlerror sqlprint;
+exec sql whenever sqlerror stop;
exec sql type c is char reference;
typedef char* c;
index 405f8d2d900b7b141cd60535547a52c0b7838840..1a0c94fbf9ce848d503d45db830ba9497029f4f0 100644 (file)
#
# Package that encapsulates a Visual C++ solution file generation
#
-# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.25 2007年05月15日 01:57:57 adunstan Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.26 2007年05月27日 11:16:41 meskes Exp $
#
use Carp;
use strict;
@@ -247,8 +247,9 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
#if (_MSC_VER > 1200)
#define HAVE_LONG_LONG_INT_64
#define ENABLE_THREAD_SAFETY 1
-#endif
EOF
+ print O "#define USE_INTEGER_DATETIMES 1\n" if ($self->{options}->{integer_datetimes});
+ print O "#endif\n";
close(O);
}