Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit86a8331

Browse files
author
Michael Meskes
committed
Some minor changes for new version numbering.
1 parent7ea9c94 commit86a8331

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,8 +1487,13 @@ Fri Jun 13 10:11:12 CEST 2003
14871487

14881488
- Enable FETCH without INTO.
14891489
- Compatibility functions for INFORMIX handling of DECLARE statement.
1490-
- Set ecpg version to 2.12.0.
1491-
- Set ecpg library to 3.4.2.
1490+
1491+
Sun Jun 15 11:18:58 CEST 2003
1492+
1493+
- Applied multi-threading patch by Lee Kindess <lkindness@csl.co.uk>
1494+
- Changed order of types in enum to make working with these easier.
1495+
- Set ecpg version to 3.0.0
1496+
- Set ecpg library to 4.0.0
14921497
- Set pgtypes library to 1.0.0
14931498
- Set compat library to 1.0.0
14941499

‎src/interfaces/ecpg/ecpglib/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.4 2003/06/1504:07:58 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.5 2003/06/1511:10:09 meskes Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -14,7 +14,7 @@ include $(top_builddir)/src/Makefile.global
1414

1515
NAME= ecpg
1616
SO_MAJOR_VERSION= 4
17-
SO_MINOR_VERSION=1.1
17+
SO_MINOR_VERSION=0.1
1818

1919
overrideCPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir)$(CPPFLAGS)$(THREAD_CFLAGS)
2020

‎src/interfaces/ecpg/include/ecpgtype.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,22 @@ enum ECPGttype
4040
{
4141
ECPGt_char=1,ECPGt_unsigned_char,ECPGt_short,ECPGt_unsigned_short,
4242
ECPGt_int,ECPGt_unsigned_int,ECPGt_long,ECPGt_unsigned_long,
43+
ECPGt_long_long,ECPGt_unsigned_long_long,
4344
ECPGt_bool,
4445
ECPGt_float,ECPGt_double,
4546
ECPGt_varchar,ECPGt_varchar2,
47+
ECPGt_numeric,
48+
ECPGt_date,
49+
ECPGt_timestamp,
50+
ECPGt_interval,
4651
ECPGt_array,
4752
ECPGt_struct,
4853
ECPGt_union,
54+
ECPGt_descriptor,/* sql descriptor, no C variable */
4955
ECPGt_char_variable,
50-
ECPGt_EOIT,/* End of insert types. */
51-
ECPGt_EORT,/* End of result types. */
52-
ECPGt_NO_INDICATOR,/* no indicator */
53-
ECPGt_long_long,ECPGt_unsigned_long_long,
54-
ECPGt_descriptor,/* sql descriptor, no C variable */
55-
ECPGt_numeric,
56-
ECPGt_date,
57-
ECPGt_timestamp,
58-
ECPGt_interval
56+
ECPGt_EOIT,/* End of insert types. */
57+
ECPGt_EORT,/* End of result types. */
58+
ECPGt_NO_INDICATOR/* no indicator */
5959
};
6060

6161
/* descriptor items */
@@ -80,7 +80,7 @@ enum ECPGdtype
8080
ECPGd_cardinality
8181
};
8282

83-
#defineIS_SIMPLE_TYPE(type) (((type) >= ECPGt_char && (type) <=ECPGt_varchar2) || ((type)>=ECPGt_long_long && (type) <= ECPGt_unsigned_long_long) || (type) >= ECPGt_numeric)
83+
#defineIS_SIMPLE_TYPE(type) ((type) >= ECPGt_char && (type) <=ECPGt_interval)
8484

8585
#ifdef__cplusplus
8686
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp