Skip to content

Commit 93625aa

Browse files
author
Michael Meskes
committed
Applied Joachim's patch for ecpg_config.h creation on Vista.
Changed variable test to not run into infinite loops on backend errors.
1 parent 8d675c8 commit 93625aa

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/interfaces/ecpg/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2198,4 +2198,9 @@ Sun, 20 May 2007 22:01:11 +0200
21982198

21992199
- Do not try to find local timezone in DecodeDateTime() because the
22002200
result is not used anyway. This also fixes Vista's build problems.
2201+
2202+
Sun, 27 May 2007 13:14:39 +0200
2203+
2204+
- Changed variable test to not run into infinite loops on backend
2205+
errors.
22012206
- Set ecpg version to 4.3.1.

src/interfaces/ecpg/test/preproc/variable.pgc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
exec sql include ../regression;
55

6-
exec sql whenever sqlerror sqlprint;
6+
exec sql whenever sqlerror stop;
77

88
exec sql type c is char reference;
99
typedef char* c;

src/tools/msvc/Solution.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Solution;
33
#
44
# Package that encapsulates a Visual C++ solution file generation
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.25 2007/05/15 01:57:57 adunstan Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.26 2007/05/27 11:16:41 meskes Exp $
77
#
88
use Carp;
99
use strict;
@@ -247,8 +247,9 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
247247
#if (_MSC_VER > 1200)
248248
#define HAVE_LONG_LONG_INT_64
249249
#define ENABLE_THREAD_SAFETY 1
250-
#endif
251250
EOF
251+
print O "#define USE_INTEGER_DATETIMES 1\n" if ($self->{options}->{integer_datetimes});
252+
print O "#endif\n";
252253
close(O);
253254
}
254255

0 commit comments

Comments
 (0)