1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
|
Wed Feb 11 10:58:13 CET 1998
- Added '-d' option to turn on debugging.
- Added version number to ecpg.
- Made libecpg a shared library.
- All files are now installed by 'make install'.
- Added man page.
Thu Feb 12 14:45:07 CET 1998
- changed parser to correctly handle local variables.
Thu Feb 12 15:55:37 CET 1998
- allow static and extern variable definitions.
- free() variable structure completely.
Fri Feb 13 12:35:58 CET 1998
- ecpg can use structs to store data, but only if the complete
definition of the struct lies inside the sql declare section
and only simple types used.
Fre Feb 13 14:12:41 CET 1998
- struct definitions now work completely.
Mon Feb 16 16:17:21 CET 1998
- enable initialisation in declare section.
- connect call accepts a variable as well.
Wed Feb 18 21:41:30 CET 1998
- added whenever statement
Thu Feb 19 12:48:14 CET 1998
- added do option to whenever statement
Sat Feb 21 19:10:55 CET 1998
- use char[] as string not as array of bytes that is integers
Sun Feb 22 16:37:36 CET 1998
- use long for all size variables
- added execute immediate statement
Sun Feb 22 20:41:32 CET 1998
- use varcharsize = 1 for all simple types, 0 means pointer, > 1
means array if type is char resp. unsigned char
Thu Feb 24 12:26:12 CET 1998
- allow 'go to' in whenever statement as well as 'goto'
- new argument 'stop' for whenever statement
Wed Feb 25 15:46:50 CET 1998
- corrected whenever continue handling
- removed whenever break
Fri Feb 27 10:51:38 CET 1998
- corrected parser to accept '::int2'
Fri Feb 27 12:00:55 CET 1998
- removed all shift/reduce conflicts
- allow syntax 'fetch cursor' as well as 'fetch in cursor'
Fri Mar 13 11:37:16 CET 1998
- finished transaction handling, needs only one function in ecpglib now
old functions are still supported for compatibility
- set library to version 1.1.0
Fri Mar 13 13:35:13 CET 1998
- exec sql include includes files during parsing
- set parser to version 1.1.0
- added -I option to ecpg to set include path
Mon Mar 16 15:09:10 CET 1998
- fixed parser to print correct filename and line number
Wed Mar 18 14:28:49 CET 1998
- started working on indicator variables
Mon Mar 23 13:49:15 CET 1998
- fixed some bugs in indicator variable handling
- completely rewrote parser for fetch and insert statements
- indicator variables are also allowed in insert statements now
Mon Mar 23 16:09:05 CET 1998
- fixed whenever command goto to only allow valid lables
Thu Mar 26 13:33:02 MEZ 1998
- some minor bugfixes
Mon Apr 20 13:06:09 CEST 1998
- database name no longer has to entered as string constant, i.e.
just remove the '...' around the name
Mon Apr 20 14:38:45 CEST 1998
- both test cases compile cleanly
Mon Apr 20 16:13:25 CEST 1998
- Phew! Finally finished parser rewriting.
Mon Apr 20 16:39:23 CEST 1998
- Cursor is opened when the open command is issued, not at declare time.
- Set version to 2.0.0
Tue Apr 21 12:53:49 CEST 1998
- Set indicator to amount of data really written (truncation).
Thu Apr 23 09:27:16 CEST 1998
- Also allow call in whenever statement with the same functionality
as do.
Thu Apr 23 12:29:28 CEST 1998
- Also rewrote variable declaration part. It is now possible to
declare more than one variable per line.
- Set version to 2.1.0
Fri Apr 24 13:50:15 CEST 1998
- Fixed some bugs.
- Set version to 2.1.1
Mon Apr 27 14:26:55 CEST 1998
- Parser now able to understand and process syntax like :foo->bar
and :foo.bar as variables.
- Set version to 2.2.0
Tue Apr 28 14:48:41 CEST 1998
- Put operator "->" back into parser. Note that :foo->bar means the
C term, but :foo ->bar means the operator "->".
Tue Apr 28 15:49:07 CEST 1998
- Added exec sql disconnect command.
- Allow varchar in C to be written in uppercase too.
- Added whenever option "do break;"
Wed Apr 29 09:17:53 CEST 1998
- Corrected parsing of C comments.
- Also allow C++ style comments.
- Make sure not found is only checked after commands that could
return it.
- Added error codes, see ecpgerror.h for details.
- Added "exec sql <TransactionStmt> release" as disconnect statement
for compatibility issues.
Thu Apr 30 10:42:10 CEST 1998
- Added a -t option to disable automatic transaction start.
- Added sqlerrd[] to sqlca struct.
- Give back number of tuples affect in sqlca.sqlerrd[2].
Thu Apr 30 13:36:02 CEST 1998
- Make the return code different in case of different errors.
Wed May 6 11:42:48 CEST 1998
- Free memory if possible
- Some bugfixes for bugs I found while changing the memory
allocation code
- Now able to fill complete array with one call (see test1.pgc for
an example)
- Set version to 2.3.0
- Set library version to 2.1
Wed May 6 16:09:45 CEST 1998
- Some more cleanups in the library.
Thu May 7 12:34:28 CEST 1998
- Made CONNECT and DISCONNECT statement more SQL3 compliant.
- Changed the API for the ECPGconnect function to be able to handle
hostnames and ports
Fri May 8 13:54:45 CEST 1998
- More changes to the parser. The connect statement now allows
ORACLE style logins.
- db-name is accepted in two ways:
- <dbname>[@<server>][:<port>]
- esql:postgresql://<server>[:<port>][/<dbname>]
Mon May 11 10:28:37 CEST 1998
- Added '? options' to connect call.
- Also allow USING as keyword for the password
Thu May 14 15:09:58 CEST 1998
- Changed preproc.y and pgc.l according to the parser changes in the
backend.
Fri May 15 09:55:21 CEST 1998
- Added connection_name handling
Mon May 18 10:33:58 CEST 1998
- Fixed some more bugs
- Set version to 2.3.1
- Set library version to 2.2
Tue May 19 11:49:34 CEST 1998
- Tested (and fixed) 'set connection'
- Fixed string notation in C
Wed May 20 10:46:48 CEST 1998
- Fixed handling of preprocessor directives and variable
initialization.
- Added enum datatype.
- Set version to 2.3.2
Wed Jun 3 13:38:57 CEST 1998
- Made sqlca struct compatible with other systems.
- Give back a warning in case of truncation
- Changed the handling of OptimizableStmt since the old one broke
CREATE RULE
- Set library version to 2.3
- Set version to 2.3.3
Thu Jul 2 20:30:14 CEST 1998
- Changed new style db name to allow connection types "tcp" and
"unix" only
Tue Jul 7 15:14:14 CEST 1998
- Fixed some bugs in preproc.y
- Set version to 2.3.4
Mon Jul 27 17:13:11 CEST 1998
- Changed text of error message to make emacs happy
Mon Aug 3 17:23:18 CEST 1998
- Added latest changes from gram.y resp. scan.l to
preproc.y resp. pgc.l
- Fixed cursor handling
- Set version to 2.3.5
- Set library version to 2.4
Fri Aug 7 12:38:50 CEST 1998
- Fixed cursor handling once again
- Added support for variables in cursor
- Set version to 2.3.6
- Set library version to 2.5
Fri Aug 14 12:44:21 CEST 1998
- Added EXEC SQL DEFINE statement
- Set version to 2.4.0
Tue Aug 18 09:24:15 CEST 1998
- Removed keyword IS from DEFINE statement
- Added latest changes from gram.y
- Removed duplicate symbols from preproc.y
- Initialize sqlca structure
- Added check for connection to ecpglib
- Set version to 2.4.1
Thu Aug 20 15:31:29 CEST 1998
- Cleaned up memory allocation in ecpglib.c
- Set library version to 2.6
Wed Aug 26 16:17:39 CEST 1998
- Sync preproc.y with gram.y
Thu Aug 27 15:32:23 CEST 1998
- Fix some minor glitches that the AIX compiler complains about
- Added patchlevel to library
Fri Aug 28 15:36:58 CEST 1998
- Removed one line of code that AIX complains about since it was not
needed anyway
- Set library version to 2.6.1
Mon Aug 31 09:40:04 CEST 1998
- Minor patch to Makefile
- Put pgc.l in sync with scan.l
Tue Sep 1 11:31:05 CEST 1998
- Fixed another bug in preproc.y
Thu Sep 3 12:21:16 CEST 1998
- Sync preproc.y with gram.y
Mon Sep 14 09:21:02 CEST 1998
- Sync preproc.y with gram.y yet again
Thu Sep 17 08:55:33 CEST 1998
- Synced preproc.y and gram.y one more time
Thu Sep 17 19:23:24 CEST 1998
- Added missing ';' in preproc.y
- Set version to 2.4.2
Tue Sep 29 10:22:00 CEST 1998
- Check strdup calls for out of memory.
- Set library version to 2.6.2
Wed Sep 30 12:15:10 CEST 1998
- Synced preproc.y with gram.y yet again.
- Set version to 2.4.3
Mon Okt 12 12:36:04 CEST 1998
- Synced preproc.y with gram.y yet again.
Thu Okt 15 10:05:04 CEST 1998
- Synced preproc.y with gram.y yet again.
- Set version to 2.4.4
Wed Dec 9 20:24:54 MEZ 1998
- Synced preproc.y with gram.y and the keywords.c files to add CASE
statement.
Tue Dec 22 19:16:11 CET 1998
- Synced preproc.y with gram.y for locking statements.
- Set version to 2.4.5
Tue Jan 7 19:19:34 CET 1999
- Synced preproc.y with gram.y for for-update clause and changes in
handling of numerics
Mon Jan 18 19:22:44 CET 1999
- Added INTERSECT, EXCEPT and UNION for Select statements
- Put keywords.c in sync again after forgettimg it the last time.
Thu Jan 21 21:29:00 CET 1999
- Fixed libecpg to not segfault if there is no connection.
- Set library version to 2.6.3
- Added 'exec sql whenever sqlwarning'.
- Set ecpg version to 2.4.6
Wed Jan 27 12:42:22 CET 1999
- Fixed bug that caused ecpg to lose 'goto' information.
- Set ecpg version to 2.4.7
Fri Jan 29 18:03:52 CET 1999
- Fixed bug that caused 'enum' to be rejected in pure C code.
- Fixed bug that caused function names to be translated to lower case.
- Set ecpg version to 2.4.8
Tue Feb 2 07:40:52 CET 1999
- Brought preproc.y in sync again with gram.y.
- Set ecpg version to 2.4.9
Wed Feb 3 18:28:46 CET 1999
- Started working on PREPARE statement.
- Fixed typo in preproc that cause CREATE statement to not work
anymore.
Thu Feb 4 19:43:39 CET 1999
- Some parts of the PREPARE statement work now.
- Added EXECUTE command
- Added DEALLOCATE PREPARE command
Fri Feb 5 18:25:07 CET 1999
- PREPARE seems to be working okay now.
- Fixed some minor bugs.
- Renamed y.tab.* to preproc.*
Mon Feb 8 07:57:29 CET 1999
- Synced preproc.y with gram.y again.
- Allow ':<name>' as positional variable in prepare statement also.
You can still specify ';;' instead of course.
- Added TYPE statement.
- Set library version to 2.7.0
Tue Feb 9 07:07:11 CET 1999
- Synced preproc.y with gram.y.
Tue Feb 9 20:21:44 CET 1999
- Added FREE statement.
Wed Feb 10 07:51:09 CET 1999
- Synced keyword.c.
Sat Feb 13 10:44:43 CET 1999
- Added DECLARE STATEMENT for compatibility with Oracle. De facto
this statement does nothing.
- Added VAR statement.
Son Feb 14 11:36:04 CET 1999
- Added type 'enum' to TYPE and VAR statement.
- Allow ecpg keywords as datatypes.
Thu Feb 18 08:35:35 CET 1999
- Make sure indicator for array is array too.
Fri Feb 19 18:38:45 CET 1999
- Finished type aliasing for structures.
- Set ecpg version to 2.5.0
Fri Feb 19 21:40:14 CET 1999
- Fixed bug in libecpg that caused it to start transactions only for
the first connection.
- Set library version to 2.7.1
Son Feb 21 14:10:47 CET 1999
- Fixed variable detection in libecpg.
Mon Feb 22 19:47:45 CET 1999
- Added 'at <db_connection>' option to all commands it is apllicable
to. Due to changing the API of some libecpg functions this
requires me to increase the major version number of libecpg.
- Synced pgc.l with scan.l.
- Added support for unions.
Tue Feb 23 17:32:25 CET 1999
- Other than a struct a union itself cannot be specified as variable.
Fri Feb 26 07:18:25 CET 1999
- Synced preproc.y with gram.y.
Sat Feb 27 20:30:03 CET 1999
- Added automatic allocating for NULL pointers.
Mon Mar 1 20:16:24 CET 1999
- Fixed parser bug that caused it to miss some blanks during output.
Thu Mar 4 19:49:28 CET 1999
- Fixed bug in ecpglib.c that caused it to allocate to few memory.
- Switched memory allocation to calloc() to make sure memory is
cleared.
- Fixed varchar auto-allocating.
Sat Mar 6 14:06:07 CET 1999
- Replaced placeholder ';;' by '?' since this is what standard says.
Mon Mar 8 17:07:14 CET 1999
- Corrected include directives to not include backend stuff.
Tue Mar 9 17:26:28 CET 1999
- Synced preproc.y with gram.y.
Sun Mar 14 15:44:18 CET 1999
- Synced preproc.y with gram.y.
Thu Mar 18 18:57:31 CET 1999
- Synced preproc.y with gram.y.
- Added '%' operator.
Thu Mar 18 19:44:10 CET 1999
- Added ECPGstatus() function.
- Cleaned up some error messages.
Fri Mar 19 08:49:32 CET 1999
- Synced preproc.y with gram.y.
- Synced keywords.c.
- Synced pgc.l with scan.l.
Sat Mar 20 19:57:42 CET 1999
- Synced preproc.y with gram.y.
- Fixed handling of ';' character.
Sun Mar 21 13:05:50 CET 1999
- Synced preproc.y with gram.y.
Mon Mar 22 19:22:38 CET 1999
- Fixed incorrect password entry in parser.
- Made no_auto_trans available for each connection seperately.
Sat Apr 10 20:10:50 CEST 1999
- Allow ecpg handle a floating point constants.
- Fix ecpg runtime library memory leak (patch by Masaaki Sakaida).
Mon Apr 12 17:56:14 CEST 1999
- Fixed ECPG variable handling.
- Make no_auto_trans be accessible via SET command.
- Do not eat comments so line numbering should be correct.
Wed Apr 14 17:59:06 CEST 1999
- Added simple calculations for array bounds.
Fri Apr 16 18:25:18 CEST 1999
- Fixed small bug in ECPGfinish().
Sat Apr 24 12:39:07 CEST 1999
- Synced preproc.y with gram.y.
- Allow more than one blank between EXEC and SQL.
- Allow statements to be prepared from a character string, too.
Fri May 7 07:11:38 CEST 1999
- Synced preproc.y with gram.y.
- Fixed small bug in parser.
Thu May 13 13:51:26 CEST 1999
- Synced preproc.y with gram.y.
Mon May 17 18:13:30 CEST 1999
- Synced preproc.y with gram.y.
Fri May 21 18:13:44 CEST 1999
- Synced preproc.y with gram.y.
Sun May 23 11:19:32 CEST 1999
- Add braces around each statement so that a simple if/else works.
Thu Jun 10 21:09:12 CEST 1999
- Fixed typo in preproc.y.
- Synced pgc.l with scan.l.
Wed Jun 16 20:21:42 CEST 1999
- Fixed another typo in preproc.y.
Thu Jun 24 18:06:43 CEST 1999
- Fixed C comment bug that caused ecpg to not accept quoted quotes.
Fri Jun 25 07:17:10 CEST 1999
- Changed error message in ecpglib.c to list correct database name.
- Set library version to 3.0.0
- Set ecpg version to 2.6.0
Mon Jul 19 07:53:20 CEST 1999
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Fixed quoting bug in ecpglib.c
- Set ecpg version to 2.6.1
- Set library version to 3.0.1
Sun Aug 1 13:31:19 CEST 1999
- Synced preproc.y with gram.y.
- Set ecpg version to 2.6.2
Tue Sep 14 22:26:40 CEST 1999
- Added patch by Andreas Theofilu <[email protected]> to fix yet
another quoting bug.
- Minor bugfixes to ecpg
- Return OID in sqlca.sqlerrd[1] if possible.
- Set ecpg version to 2.6.3
- Set library version to 3.0.2
Fri Sep 17 07:43:55 CEST 1999
- Fixed bug in parsing C strings.
- Fixed bug in parsing operators.
- Set ecpg version to 2.6.4
Fri Sep 17 18:16:34 CEST 1999
- Made sure sqlca is initialized everytime.
- Set library version to 3.0.3
Mon Sep 27 07:40:20 CEST 1999
- Synced preproc.y with gram.y.
- Synced keyword.c.
- Set ecpg version to 2.6.5
Tue Sep 28 17:58:37 CEST 1999
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
Fri Oct 1 18:34:30 CEST 1999
- Synced preproc.y with gram.y.
- Synced keyword.c.
- Include patch by Christof Petig <[email protected]>:
- made NULL a valid bool value
- check for indicator variables on NULL
Wed Oct 6 18:28:40 CEST 1999
- Synced preproc.y with gram.y.
Thu Oct 7 15:12:58 CEST 1999
- Fixed bug that caused mixed case relation names to be converted to
upper case.
- Synced preproc.y with gram.y.
- Set ecpg version to 2.6.6
- Set library version to 3.0.4
Tue Oct 12 07:26:50 CEST 1999
- Simplified C part of parser.
Fri Oct 15 17:05:25 CEST 1999
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keyword.c.
- Finished C parser changes, so initializers are correctly parsed.
- Set ecpg version to 2.6.7
Mon Oct 25 09:28:17 CEST 1999
- Made sure Tom Lane's patches make it into my source tree.
Wed Oct 27 18:08:09 CEST 1999
- Synced preproc.y with gram.y.
- Set ecpg version to 2.6.8
Fri Oct 29 21:36:25 CEST 1999
- Fixed bug that caused ecpg to not allow FOR UPDATE.
- Set ecpg version to 2.6.9
Mon Nov 1 11:22:06 CET 1999
- Print SQL error message to STDERR instead of STDOUT.
- Added a fourth test source.
- Set library version to 3.0.5.
Wed Nov 10 18:33:14 CET 1999
- Synced preproc.y with gram.y.
Thu Nov 11 07:49:44 CET 1999
- Fixed bug in SET AUTOCOMMIT.
Mon Nov 22 18:26:34 CET 1999
- Synced preproc.y with gram.y.
- Clean up parser.
- Set library version to 3.0.6.
- Set ecpg version to 2.6.10.
Tue Nov 23 07:59:01 CET 1999
- Ignore locale setting in ECPGdo.
- Set library version to 3.0.7.
Fri Dec 3 16:35:07 CET 1999
- Fixed memory leak in ecpglib.
- Set library version to 3.0.8.
Wed Dec 8 08:26:13 CET 1999
- Synced preproc.y with gram.y.
- Clean up error handling.
- Set ecpg version to 2.6.11.
Tue Dec 14 07:28:10 CET 1999
- Synced preproc.y with gram.y.
- Simplified string handling.
Wed Dec 15 08:10:52 CET 1999
- Fixed typo in parser.
- Included Bruce's patch to fix two more memory leaks in libecpg.
- Some cleanup in libecpg.
- Set library version to 3.0.9.
- Set ecpg version to 2.6.12.
Thu Dec 23 13:25:05 CET 1999
- Fixed command line parsing.
- Set ecpg version to 2.6.13.
Thu Jan 6 09:52:27 CET 2000
- Synced preproc.y with gram.y.
- Set ecpg version to 2.6.14.
Wed Jan 12 15:50:39 CET 2000
- Made sure Rene Hogendoorn's patches make it into ecpg completely
except for the FETCH syntax change.
Fri Jan 14 21:17:46 CET 2000
- Applied a minor patch to ecpglib.c.
- Fixed initialization bugs.
Mon Jan 17 21:55:40 CET 2000
- Synced preproc.y with gram.y.
- Changed FETCH syntax using Rene's final patch. Made it more
standard compliant.
Thu Jan 20 10:00:50 CET 2000
- Synced preproc.y with gram.y.
Fri Jan 21 14:52:27 CET 2000
- Added more log output to ecpglib.
Thu Jan 27 08:12:05 CET 2000
- Added another patch by Rene Hogendoorn.
- Fixed error messages in pgc.l.
- Improved variable parsing.
- Synced preproc.y with gram.y.
Mon Feb 14 10:35:18 CET 2000
- Synced preproc.y with gram.y.
Tue Feb 15 11:14:07 CET 2000
- Synced keyword.c.
- Synced preproc.y with gram.y.
Tue Feb 15 17:39:19 CET 2000
- Do only write the first 70 bytes of the error message to the
sqlca structure since there are only 70 bytes free space.
- Set library version to 3.0.10.
Wed Feb 16 11:57:02 CET 2000
- Fixed library to be able to input complete arrays.
Wed Feb 16 17:04:41 CET 2000
- Apply patch by Christof Petig <[email protected]> that adds
descriptors.
Thu Feb 17 19:37:44 CET 2000
- Synced preproc.y with gram.y.
- Started to clean up preproc.y.
Tue Feb 22 13:48:18 CET 2000
- Synced preproc.y with gram.y.
- Much more clean ups.
Wed Feb 23 17:08:28 CET 2000
- Even more clean ups.
Fri Feb 25 16:13:11 CET 2000
- Fixed some bugs I created when I cleaned up, thanks Christof.
Wed Mar 1 10:49:03 CET 2000
- Synced preproc.y with gram.y.
- Added output of arrays.
Thu Mar 2 11:25:09 CET 2000
- Fixed some parsing problems. A variable can now be a reserved
SQL keyword.
- Made sure double quotes in statements are correctly quoted.
Thu Mar 2 17:42:16 CET 2000
- Print error message if an indicator array is given for input
variables.
Fri Mar 3 10:47:06 CET 2000
- Fixed handling of double quote in C code.
Tue Mar 7 10:58:21 CET 2000
- More cleanup in ecpglib.
- Fixed ecpg.c not not free variable list twice.
Thu Mar 9 10:12:57 CET 2000
- Fixed another memory bug in the parser.
Wed Mar 15 17:36:02 CET 2000
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keyword.c.
Sun Mar 19 11:03:13 CET 2000
- Fixed quoting bug in disconnect statement.
Thu Mar 23 08:13:39 CET 2000
- Synced preproc.y and keyword.c.
Wed Mar 29 09:03:26 CEST 2000
- Fixed string parsing bug in pgc.l.
Thu Mar 30 11:11:13 CEST 2000
- Synced preproc.y with gram.y.
- Fixed comment parsing bug.
Fri Mar 31 08:25:58 CEST 2000
- Synced preproc.y with gram.y.
Mon Apr 3 21:20:27 CEST 2000
- Made sure pointers are correctly inserted by libecpg. My thanks go
to Jan Urbanek <[email protected]> for findin many bugs before the
release.
Wed Apr 5 07:54:56 CEST 2000
- Added patch by Peter Eisentraut <[email protected]> to fix some
duplicate definittions in preproc.y.
- Removed duplicate ',' in execute.c.
- Changed error message for backend errors so it fits into sqlca.
- Fixed array handling.
Wed Apr 5 17:35:53 CEST 2000
- Fixed handling of bool variables.
Sat Apr 8 13:10:12 CEST 2000
- Synced preproc.y with gram.y.
- Synced keyword.c.
- Set library version to 3.1.0.
- Set ecpg version to 2.7.0.
Mon May 15 10:51:31 CEST 2000
- Added patch by SAKAIDA Masaaki <[email protected]> to fix segfault.
- Set ecpg version to 2.7.1.
Wed May 17 07:52:59 CEST 2000
- Added patch by SAKAIDA Masaaki <[email protected]> to fix array
handling.
- Set library version to 3.1.1.
Mon Sep 4 14:10:38 CEST 2000
- Synced preproc.y with gram.y.
- Synced keyword.c.
Mon Sep 18 13:55:11 CEST 2000
- Added int8 support based on a patch by Martijn Schoemaker <[email protected]>
Wed Sep 20 12:40:27 CEST 2000
- Added patch by Christof Petig <[email protected]> to process
backend NOTICEs.
- Added patch by Christof Petig <[email protected]> to cache
type information.
Thu Sep 21 13:54:13 CEST 2000
- Enabled parser to accept ip addresses instead of host names.
Tue Sep 26 13:00:16 CEST 2000
- Synced preproc.y with gram.y.
- Synced keyword.c.
- Added patch by Christof Petig <[email protected]> to fix NOT
FOUND problem on update/insert/delete.
Wed Oct 4 14:36:51 CEST 2000
- Added patch by Christof Petig <[email protected]> to fix
missing NOTICE.
Wed Oct 11 16:49:36 CEST 2000
- Synced preproc.y with gram.y.
Thu Oct 12 20:13:00 CEST 2000
- Changed parser to accept a variable instead of a constant wherever
possible.
Mon Oct 16 21:33:17 CEST 2000
- Fixed handling of variables in connect rule.
Tue Oct 17 08:09:16 CEST 2000
- Simplified parsing of connect rule.
Tue Oct 17 17:36:30 CEST 2000
- Fixed some bugs in C language parsing.
Sun Oct 22 15:35:53 CEST 2000
- Fixed typos in descriptor.c.
Wed Oct 25 08:53:07 CEST 2000
- Added some more C constructs to the parser.
Wed Oct 25 21:22:17 CEST 2000
- Synced gram.y and preproc.y.
Son Oct 29 11:26:06 CET 2000
- Removed multibyte stuff since client does not know about encoding
in the backend.
- Fixed quoting bug reported by Sascha Demetrio ([email protected]).
Mon Oct 30 15:27:12 CET 2000
- Synced gram.y and preproc.y.
Tue Oct 31 16:09:55 CET 2000
- Added patch by Christof Petig <[email protected]> fixing some
parser bugs.
Fri Nov 3 11:34:43 CET 2000
- Synced pgc.l with scan.l.
- Synced gram.y and preproc.y.
Sat Nov 4 17:42:43 CET 2000
- Added patch by Christof Petig to fix several small bugs.
Thu Nov 9 14:40:18 CET 2000
- Synced gram.y and preproc.y.
- Synced keyword.c.
- Added just another patch by Christof Petig.
Sat Nov 18 16:28:11 CET 2000
- Synced gram.y and preproc.y.
Mon Dec 18 12:27:52 CET 2000
- Synced gram.y and preproc.y.
- Synced keyword.c.
- Added several small patches from Christof.
Fri Dec 22 13:33:31 CET 2000
- Fixed bug in a connect statement using varchars.
- Synced gram.y and preproc.y.
Mon Jan 22 17:56:02 CET 2001
- Synced gram.y and preproc.y.
- Added #include "postgres.h" to pgc.l.
Tue Jan 23 08:54:14 CET 2001
- Moved database name handling to libecpg.
Thu Jan 25 21:14:38 CET 2001
- Synced gram.y and preproc.y.
Wed Jan 31 17:11:04 CET 2001
- Added two bug fixes by Christof Petig.
Mon Feb 19 08:25:14 CET 2001
- Synced gram.y and preproc.y.
Mon Feb 26 15:22:04 CET 2001
- Fixed misplaced variables FoundInto and QueryIsRule.
Thu Mar 29 10:23:05 CEST 2001
- Applied bug fix in ecpgtype.h by Adriaan Joubert.
Mon Apr 2 10:16:10 CEST 2001
- Synced scan.l and pgc.l.
Thu Apr 5 10:11:35 CEST 2001
- Fixed long long problem.
- Set ecpg version to 2.8.0.
- Set library version to 3.2.0.
Fri Jun 1 08:13:25 CEST 2001
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keyword.c.
Wed Jun 13 14:39:12 CEST 2001
- Synced preproc.y with gram.y.
- Applied bug fix by John Summerfield.
Son Aug 19 11:04:39 CEST 2001
- Synced preproc.y with gram.y.
- Include some patches by Christof Petig <[email protected]>.
Wed Sep 19 15:57:49 CEST 2001
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keyword.c.
- Include the remaining patches by Christof Petig <[email protected]>.
Tue Sep 25 20:10:03 CEST 2001
- Synced preproc.y with gram.y.
- Changed locale handling.
Mon Oct 1 13:49:40 CEST 2001
- Fixed truncate bug.
- Added patch by Christof Petig <[email protected]> to clean up
ecpglib.
TUe Oct 2 16:09:26 CEST 2001
- Re-added Tom's patch fixing my setlocale patch. I accidently
deleted it.
Fri Oct 5 08:37:01 CEST 2001
- Fixed yet another typo in preproc.y.
Fri Oct 5 19:33:46 CEST 2001
- Make sure every call to ECPGraise is logged.
Mon Oct 8 10:10:23 CEST 2001
- Fix include file so library is binary compatible again.
Sun Oct 14 14:07:59 CEST 2001
- Fixed GRANT statement.
- Synced preproc.y with gram.y.
Thu Oct 18 12:57:04 CEST 2001
- Added patch by Lee Kindness <[email protected]> fixing several
bugs.
Fri Oct 19 16:32:06 CEST 2001
- Removed "not yet fully implemented" warnig for nullif.
Sun Oct 21 14:19:42 CEST 2001
- Synced preproc.y with gram.y.
Fri Nov 2 16:16:25 CET 2001
- Synced preproc.y with gram.y.
Wed Nov 14 11:50:27 CET 2001
- Added several patches by Christof Petig <[email protected]>.
Tue Dec 4 13:30:32 CET 2001
- Fixed dumping of structures without indicators.
Wed Dec 5 12:27:25 CET 2001
- Fixed variable handling in AT statement.
- Fixed bug that caused segfault when given incorrect DB name.
- Fixed bug in ecpglib causing indicator to list the size of the
variable instead of the size of the data
Thu Dec 6 14:02:56 CET 2001
- Removed debug message from preproc.y.
- Fixed some bugs in exec sql var and exec sql type command.
Sat Dec 8 21:35:45 CET 2001
- Fix ecpg to allow pointer to structs.
Sun Dec 9 16:21:30 CET 2001
- Fixed several bugs concerning indicators and added error messages
instead of segfaults.
Thu Dec 20 14:15:56 CET 2001
- Removed space_or_nl and line_end from pgc.l.
Sun Dec 23 13:08:36 CET 2001
- Fixed several bugs concerning arrays of structs including a memory
allocation bug.
Mon Jan 7 12:18:01 CET 2002
- Fixed parser to accept initializing expressions starting with "(".
Tue Jan 8 15:16:37 CET 2002
- Fixed array pointers, no longer using void *.
Thu Jan 10 11:12:14 CET 2002
- Include sqlca.h automatically.
Fri Jan 11 15:43:39 CET 2002
- clear sqlca on : [de]allocate descriptor & get descriptor and set
sqlca.sqlerrd[2] accordingly (Christof).
Sat Jan 12 22:04:02 CET 2002
- Fixed variable handling for struct members.
- Removed check for array input. An attribut might store the
complete array.
Fri Jan 18 16:49:02 CET 2002
- Accept subsequent commits.
Wed Jan 23 17:35:23 CET 2002
- Added patch to temporarily disable locale for descriptors too (Christof).
- Set ecpg version to 2.9.0.
- Set library version to 3.3.0.
Wed Mar 6 10:40:28 CET 2002
- Synced preproc.y with gram.y.
Sun Mar 10 13:08:22 CET 2002
- Fixed two bugs in define command in lexer.
Thu Mar 21 08:25:08 CET 2002
- Applied patch by Nicolas Bazin <[email protected]> for improved
typedef handling.
- Added option '-c' to automatically create C typedef from SQL one.
Sun Apr 14 10:53:14 CEST 2002
- Fixed one bug in structure handling resulting in using sizeof
indicator instead of variable.
- Synced preproc.y with gram.y.
Mon Apr 22 20:44:56 CEST 2002
- Synced preproc.y with gram.y.
- Synced keywords.c.
Sun Apr 28 19:16:40 CEST 2002
- Synced preproc.y with gram.y.
- Fixed typo in comment printed by ecpg.
Sun May 19 19:21:34 CEST 2002
- Fixed reduce/reduce conflict in parser.
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keywords.c.
Mon May 20 10:58:36 CEST 2002
- Fixed some parser bugs.
- Removed some simple rules to work arounf bison limit for now.
- Update c_keywords.c to reflect changes in keywords.c.
Wed Jun 12 14:04:11 CEST 2002
- Applied Lee Kindness' patch to fix one of memory allocation with
floating point numbers.
Mon Jun 17 15:23:51 CEST 2002
- Fixed parser bug in pgc.l. Octal numbers in single quotes are now
correctly handled.
Tue Jun 18 15:13:15 CEST 2002
- Fixed parser bug concerning foreign keys.
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keywords.c.
Sun Aug 18 16:09:06 CEST 2002
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keywords.c.
Tue Aug 20 14:13:34 CEST 2002
- Removed ',' from preproc.y for bison 1.49b.
Sun Sep 1 11:13:04 CEST 2002
- Synced preproc.y with gram.y.
- Synced keywords.c.
Wed Sep 11 10:43:17 CEST 2002
- Synced preproc.y with gram.y.
Fri Sep 20 07:57:42 CEST 2002
- Synced preproc.y with gram.y.
- Synced keywords.c.
- Deactivated backend functions PREPARE, EXECUTE and DEALLOCATE for
the time being.
Thu Nov 7 10:34:07 CET 2002
- Synced preproc.y with gram.y.
- Set ecpg version to 2.10.0.
- Set library version to 3.4.0.
Fri Nov 15 16:46:08 CET 2002
- Synced preproc.y with gram.y.
Wed Nov 27 09:28:54 CET 2002
- Synced preproc.y with gram.y.
Tue Jan 21 20:50:58 CET 2003
- Set ecpg version to 2.11.0.
- Synced preproc.y with gram.y.
Thu Feb 13 14:06:28 CET 2003
- Applied patch by Matthew Vanecek <[email protected]> for better
error reporting.
- Started working on an Informix compatibility mode. With option "-C
INFORMIX" set, ecpg now accepts "$" as alias for "exec sql" and to
denote variables inside SQL statements.
Fri Feb 14 14:14:25 CET 2003
- Synced parser and keyword file.
- More work on Informix compatibility.
Mon Feb 17 15:07:41 CET 2003
- Added Informix "database" command.
Wed Feb 19 13:39:29 CET 2003
- Added DATABASE command as alias to CONNECT TO.
- Fixed struct parsing bug.
Tue Feb 25 16:46:27 CET 2003
- Allow SET CONNECTION to be followed by connection object without
leading "TO" or "=".
- Allow whenever statement to list function without parameters.
Sun Mar 16 11:28:01 CET 2003
- Started with a pgtypes library.
- Renamed lib directory to ecpglib.
- Added numerical functions to library and preprocessor.
Thu Mar 20 16:53:40 CET 2003
- Added date/timestamp to library and preprocessor.
Fri Mar 21 15:13:42 CET 2003
- Made sure preprocessor accepts new datatypes.
- Do not free prepared statements at the end of a transaction.
Thu Mar 27 15:23:58 CET 2003
- Some more updates to pgtypeslib.
- Set optimization to -O1 until I find the reason why code is broken
with -O2.
Sat Mar 29 22:03:16 CET 2003
- Moved Informix compatibility stuff its own library.
- Added interval datetypes.
Sun Mar 30 13:43:13 CEST 2003
- Interval datetype now fully functional.
Tue Apr 8 14:03:32 CEST 2003
- Added rstrdate function.
- Made Informix mode honor environment variable to set dbname to
connect to.
Thu May 1 14:54:41 CEST 2003
- Enable more Informix shortcuts.
- Added option '-i' to parse files included via cpp diretive as well.
Fri May 2 16:37:06 CEST 2003
- Fixed double definition of compat_mode.
Tue May 6 11:51:33 CEST 2003
- Added rfmtlong compatibility function.
Tue May 13 13:34:12 CEST 2003
- Fixed order of include search path.
Wed May 14 13:05:49 CEST 2003
- Added more compatibility functions.
- Accept CPP defines for type definitions.
- Do not parse system include files automatically for Informix mode
Fri May 16 11:45:50 CEST 2003
- Fixed include in pgtypeslib to not include c.h
Fri May 16 13:32:10 CEST 2003
- Made double variables work again.
Mon May 19 09:22:40 CEST 2003
- Fixed exec sql ifdef command.
Tue May 20 11:47:00 CEST 2003
- Reversed my fix for ifdef. It was the example, not ecpg which was
incorrect.
- Changed DBPATH variable to PG_DBPATH.
Thu May 22 09:33:54 CEST 2003
- ecpg now recognizes named struct/union usage.
Fri May 23 11:46:15 CEST 2003
- Synced parser and keyword table.
- ecpg now accepts array elements as input variables.
Tue May 27 13:29:28 CEST 2003
- Fixed incorrect output for some structs.
Tue May 27 16:33:36 CEST 2003
- Accept stdin/stdout as input/output file.
Thu May 29 13:58:25 CEST 2003
- ecpg should now be able to parse forward struct definition.
Thu May 29 15:45:57 CEST 2003
- Changed parsing of variables to be able to reference one attribute
of the n-th entry in an array of structs.
Fri May 30 10:29:49 CEST 2003
- Synced parser.
- Added a dummy rule for EXEC SQL DESCRIBE that throws an error
message.
Fri May 30 15:19:39 CEST 2003
- Implemented prototype describe function.
- Some minor cleanup/bug fixing.
Mon Jun 2 17:36:03 CEST 2003
- Fixed segfault in forward definition parsing.
Tue Jun 10 19:43:49 CEST 2003
- Fixed several small bugs.
Wed Jun 11 08:30:41 CEST 2003
- Make sure a variable is no longer referenced when it is removed.
- Fixed counting bug in parsing "->" operator.
Fri Jun 13 10:11:12 CEST 2003
- Enable FETCH without INTO.
- Compatibility functions for INFORMIX handling of DECLARE statement.
Sun Jun 15 11:18:58 CEST 2003
- Applied multi-threading patch by Lee Kindess <[email protected]>
- Changed order of types in enum to make working with these easier.
Tue Jun 17 08:45:14 CEST 2003
- Fixed several parsing bugs.
Thu Jun 19 10:08:26 CEST 2003
- Added missing rdayofweek function for Informix compatibility.
- Fixed fetch into char pointer.
Fri Jun 20 13:23:07 CEST 2003
- Enabled constants in using clause.
Fri Jun 20 15:34:29 CEST 2003
- For Informix compatibility we have to accept a "free <cursor>".
- Synced scan.l and pgc.l.
Sun Jun 22 11:20:29 CEST 2003
- Fixed missing '\0' in output char pointer.
Wed Jun 25 09:29:34 CEST 2003
- Synced keyword.x and preproc.y/gram.y.
- Implemented Informix special way to treat NULLs.
Thu Jun 26 13:26:13 CEST 2003
- Added another compatibility level INFORMIX_SE.
- Synced again.
Sun Jun 29 11:22:48 CEST 2003
- Just another sync.
- Made sure Informix style decimal vars are initialized. They use a
fixed amount of digits and not an allocated one. So we have to work
around. PostgreSQL numeric type remains the same.
- In INFORMIX_SE mode with autcommit set, make all cursors be "with
hold". Is this really they way SE behaves?
Tue Jul 1 11:57:56 CEST 2003
- Use ISO dates in pgtypeslib by default.
- Applied patch by Philip Yarra to fix some thread issues.
- Added a new data type "decimal" which is mostly the same as our
"numeric" but uses a fixed length array to store the digits. This is
for compatibility with Informix and maybe others.
Wed Jul 2 09:45:59 CEST 2003
- Fixed initialization bug in compatlib.
- Added postgres_fe.h to all files in pgtypeslib.
Fri Jul 4 13:51:11 CEST 2003
- date, interval and timestamp data should be quoted.
Mon Jul 7 14:13:43 CEST 2003
- Made sure "char *" is handled differently than "char []".
Tue Jul 8 09:04:31 CEST 2003
- Fixed segfault in ECPGconnect in Informix mode.
Tue Jul 8 12:34:00 CEST 2003
- Made Informix decimal-ascii conversion honor Informix NULLs.
- Informix variable handling didn't cope well with arrays.
Wed Jul 9 11:45:02 CEST 2003
- Made all Informix functions honor Informix NULLs.
- Extended compatibility functions for INFORMIX handling of DECLARE
statement to work with indicators.
Mon Jul 14 09:34:04 CEST 2003
- Synced preproc.y with gram.y
- Init sqlca in ECPGprepare().
- Added CLOSE DATABASE for Informix compatibility.
Tue Jul 15 14:28:53 CEST 2003
- Started to add error codes for backend error messages.
Thu Jul 17 09:15:59 CEST 2003
- Fixed some bugs in informix compat functions.
Fri Jul 18 16:31:10 CEST 2003
- Added some more compatibility features to the parser.
Thu Jul 24 10:33:51 CEST 2003
- Fixed mdy functions to use correct offset.
Fri Jul 25 18:08:18 CEST 2003
- Added explicit casts for date/timestamp/interval.
Fri Aug 1 08:54:02 CEST 2003
- Added some Informix error codes in Informix mode.
- Added just another pgtypeslib function.
Mon Aug 25 13:24:27 CEST 2003
- Synced parser.
Tue Aug 26 18:06:45 CEST 2003
- Fixed processing of connect statement with username as variable.
Mon Sep 1 14:33:10 CEST 2003
- Fixed two bugs in numeric library.
Tue Sep 9 12:13:51 CEST 2003
- Added Dave patch for Informix handling of numeric/int conversion.
- Changed all new datatypes to lowercase.
- Fixed rounding bug in numerical types.
Wed Sep 10 20:01:49 CEST 2003
- Some files still had uppercase typenames
Mon Sep 15 18:09:42 CEST 2003
- Accept output variables for FETCH in DECLARE statement.
Tue Sep 16 07:56:14 CEST 2003
- Synced parser.
- Allowed C variables to carry the name of prepared statements.
Thu Sep 18 14:54:47 CEST 2003
- Added Informix handling of datatype converion errors.
Fri Sep 19 08:33:39 CEST 2003
- Some code cleanup
Sat Sep 20 11:06:13 CEST 2003
- Applied some bug fixing patches by Dave Cramer <[email protected]>.
- Added protecting defines to include files.
- Renamed my own strndup() function because of a name clash.
Mon Sep 22 15:13:02 CEST 2003
- Fixed order mismatch in processing "using" arguments.
- Fixed some minor things in test cases.
- Use defines for Informix error codes.
Tue Sep 23 14:50:45 CEST 2003
- Changed struct definition handling so "struct foo {}" always gets
defined.
Fri Sep 26 17:14:07 CEST 2003
- Incorrect datatype with precision argument should not create a
segfault.
Fri Oct 3 12:04:57 CEST 2003
- Hide Informix datatypes in PostgreSQL built process.
Sun Oct 5 13:08:47 CEST 2003
- Fixed bug in day of week calculation.
Mon Oct 6 08:41:45 CEST 2003
- Fixed constant listing in execute using clause.
- Fixed typo in ecpg for Informix dec_t type.
- Fixed precision handling in Informix compat funxtions.
Tue Oct 7 07:45:09 CEST 2003
- Fixed error handling in rstrdate.
Tue Oct 7 20:26:06 CEST 2003
- Fixed floating point exception in long=>numeric transformation.
Sun Oct 19 15:20:16 CEST 2003
- Need to check for both Informic compat modes when parsing include
files.
Mon Oct 20 14:53:40 CEST 2003
- Install dummy sqlda.h file.
Sun Oct 26 10:47:05 CET 2003
- Fixed bug with indicators when storage for the
string is dynamically allocated
Thu Oct 30 11:12:37 CET 2003
- Applied patch by Dave Cramer fixing several bugs in compatlib.
Fri Oct 31 15:09:22 CET 2003
- If EOF is found inside a string/comment/etc. stop parsing.
Mon Nov 3 15:43:19 CET 2003
- Fixed a potentially uncleared allocation in compatlib.
- Set ecpg version to 3.0.0
- Set ecpg library to 4.0.0
- Set pgtypes library to 1.0.0
- Set compat library to 1.0.0
Wed Dec 3 09:45:21 CET 2003
- Added patch for array handling by Dave Cramer
Wed Dec 17 16:11:16 CET 2003
- Added just another patch by Dave that fixes a reversed order in
variable listing for output variables in cursor definitions
- Fixed incorrect if call in long=>numeric conversion.
- Set ecpg version to 3.1.0
- Set ecpg library to 4.1
- Set pgtypes library to 1.1
- Set compat library to 1.1
Mon Jan 26 21:57:14 CET 2004
- Issue a warning if a cursor is declared but not opened.
- Fixed prototype for ECPGprepared_statement to not moan about "const
char"
- Fixed parsing of nested structures.
- Added option to parse header files.
Sun Feb 15 14:44:14 CET 2004
- Added missing braces to array parsing.
- Allowed some C keywords to be used as SQL column names.
Mon Feb 16 08:17:19 CET 2004
- Cleaned up parser a little bit. It does not make sense to allow a
typename to be typedef'ed that cannot be parsed as variable type.
- Allowed some SQL keywords to be used as C variable names.
Tue Feb 24 16:48:57 CET 2004
- Corrected error handling in PGTYPEStimestamp_from_asc.
Mon Mar 1 08:56:37 CET 2004
- Added partly missing VOLATILE keyword.
Thu Mar 4 08:29:02 CET 2004
- Fixed segfault due to missing check for variable declaration.
- Added check for multidimensional array usage.
Sun Mar 14 12:59:15 CET 2004
- Fixed Informix compat math functions to cope with the situations
where one argument takes the result.
- Applied thread patches by Lee Kindness
Mon Mar 29 17:02:52 CEST 2004
- Fixed possible segfault in type.c (by Juergen Cappel)
Thu Apr 22 14:13:57 CEST 2004
- Fixed double usage of allocated memory.
Thu Apr 29 16:06:37 CEST 2004
- Synced parser and keyword list.
Wed May 5 11:51:47 CEST 2004
- Fixed bug in adjust_informix that treated arrays as simple
variables.
- Synced parser again.
- Synced lexer.
Fri May 7 15:34:05 CEST 2004
- Added portability file to pgtypeslib.
- Fixed bug that reversed string length in typedefs.
- Added additional test case.
Mon May 10 15:38:58 CEST 2004
- Argh, just another bug in adjust_informix.
- Added "extern C" flags for C++ compiler.
Fri May 21 15:17:35 CEST 2004
- Fixed DEALLOCATE PREPARE to use correct function call
- Made sure connect statement does not accept single char variable,
but only strings.
Sat May 22 13:11:12 CEST 2004
- Added pg_config_paths.h to ecpglib.
Thu Jun 17 13:50:06 CEST 2004
- Added patch by ISHIDA Akio to allow indicators in execute
statements.
Sun Jun 20 12:44:01 CEST 2004
- Synced parser and keyword list.
Sun Jun 27 13:50:58 CEST 2004
- Only use typedefs inside their scope.
- Variables that are out of scope, were not removed all the time.
- Make a varchar NULL set everything to 0 when not using indicators.
- Synced parser.
Mon Jun 28 11:08:42 CEST 2004
- Arrays can be read as arrays or as character strings now.
Wed Jun 30 16:56:32 CEST 2004
- Added SET DESCRIPTOR command.
- Cleaned up error handling in preprocessor.
Sun Jul 4 16:53:53 CEST 2004
- Made sure SET DESCRIPTOR accepts all data types including constants.
- Some code cleanup.
Mon, 5 Jul 2004 10:41:54 +0200
- Fixed indicator in SET DESCRIPTOR.
- Added special handling of descriptor header information.
- More code cleanup.
Mon Jul 5 20:50:09 CEST 2004
- Added free() calls against memory leak in interval.c.
Tue Jul 20 09:15:21 CEST 2004
- Synced parser and keyword list.
- Fixed handling of cyclic defines.
Mon Jul 26 09:04:53 CEST 2004
- SQL defines are only used in SQL space in Informix mode.
Mon Sep 6 13:17:46 CEST 2004
- Fixed bug in Informix mode that caused a segfault.
- Set pgtypes library version to 1.2.
Mon Sep 27 11:05:49 CEST 2004
- Synced parser.
- Removed Oracle transaction syntax to fix shift/reduce error.
Tue Oct 5 12:45:48 CEST 2004
- '::' is no longer interpreted as a variable in a prepare statement.
Added patch by Daniel Verite to fix this.
Mon Oct 18 15:34:51 CEST 2004
- Synced parser.
Wed Nov 10 14:43:50 CET 2004
- List VALUE as a keyword.
Mon Dec 6 21:27:34 CET 2004
- Fixed bug in parsing of typedef'ed array sizes.
- Synced parser.
Thu Dec 23 09:26:08 CET 2004
- Added PGTYPEStimestamp_add_interval written by Dave Cramer.
- Fixed parsing of defines to make sure they used more than once.
Mon Jan 10 13:55:32 CET 2005
- Fixed segfault in adjust_informix due to missing varchar type.
- Set ecpg version to 3.2.0.
- Set compat library version to 1.2.
- Set ecpg library version to 4.2.
Tue Jan 25 13:47:45 CET 2005
- Fixed segfault in preprocessor due to free a struct twice.
Wed Feb 2 16:35:27 CET 2005
- Fixed bug in parsing of #line statement in declare section.
Wed Feb 9 12:24:03 CET 2005
- Fixed bug in parsing of CREATE AS statement.
Thu Feb 10 09:03:56 CET 2005
- Fixed more parsing bugs in other CREATE statements. Thanks to TANIDA
Yutaka <[email protected]> and Atsushi Mitani <[email protected]> for
pointing out all these problems.
- Set ecpg version to 3.2.1.
Fri Mar 18 10:54:47 CET 2005
- Added patch by Christof Petig <[email protected]> to work
around gcc bug on powerpc and amd64.
Thu Apr 14 11:59:47 CEST 2005
- Added patch by Philip Yarra <[email protected]> for a
bug in thread support.
Thu Jun 2 14:22:32 CEST 2005
- Fixed memory leak in ecpglib by adding some missing free() commands.
- Added patch by Gavin Scott <[email protected]> for Intel 64bit
hardware.
Wed Aug 24 12:17:48 CEST 2005
- Check for NULL before checking whether argument is an array.
- Remove stray character from string quoting.
- Fixed check to report missing varchar pointer implementation.
Mon Sep 12 13:53:35 CEST 2005
- Fixed transaction command handling to not ignore savepoints
and to correctly check for errors.
Tue Oct 4 15:23:00 CEST 2005
- Synced parser.
- Fixed another bug in check to report missing varchar pointer implementation.
Wed Oct 5 16:57:42 CEST 2005
- Synced lexer.
- Set ecpg library version to 5.1.
- Set ecpg version to 4.1.1.
Wed Nov 30 12:49:13 CET 2005
- Made several variables "const char *" instead of "char *" as
proposed by Qingqing Zhou <[email protected]>.
- Replaced all strdup() calls by ECPGstrdup().
Fri Dec 2 16:00:10 CET 2005
- Added special handling of CONNECTION variable that is used by ECPG
instead of given to the backend.
Fr Jan 13 17:29:30 CET 2006
- Fixed a fixed size buffer in preproc.y to be variable size since an
overflow could occur on the fixed one.
Tu Jan 17 18:53:03 CET 2006
- Data transferred binary is now put into the variables verbatim.
Tu Jan 24 10:59:21 CET 2006
- Synced parser and keyword list.
- Added another test case.
Sa Feb 4 21:35:03 CET 2006
- Added C bit fields to ecpg parser.
- Added some default rules to lexer.
- Added log output to prepare statement.
Mo Feb 6 21:21:19 CET 2006
- Added just another test case.
- Fixed missing continuation line character.
- Do not translate $-quoting.
Tu Feb 7 18:48:14 CET 2006
- Bit field notation belongs to a variable not a variable list.
- Output of line number only done by one function.
Fri, 17 Mar 2006 16:38:19 +0100
- Fixed bug 2330: Wrong error code in case of a duplicate key.
Mo Apr 24 11:40:05 CEST 2006
- Fixed memory leak bugs found by Martijn Oosterhout.
We Mai 31 10:10:36 CEST 2006
- Fixed PGTYPESdate_from_timestamp because some characters got lost there.
Tu Jun 6 12:09:56 CEST 2006
- Fixed two more memory leaks in ecpglib.
- Synced parser.
Mo Jun 19 11:15:50 CEST 2006
- Do not use already free'ed errmsg, bug found by Joachim Wieland
<[email protected]>.
We Jun 21 09:24:53 CEST 2006
- Added fixes from the coverity report send in by Joachim Wieland
<[email protected]>.
- Added missing error handling in a few functions in ecpglib.
we Jun 21 13:37:00 CEST 2006
- Added some more coverity report patches send in by Martijn van
Oosterhout <[email protected]>.
Su Jun 25 11:27:46 CEST 2006
- Moved some free() calls that coverity correctly complains about.
Mo Jun 26 11:05:25 CEST 2006
- Added some more coverity report patches send in by Joachim Wieland
<[email protected]>.
Mo Jun 26 16:08:23 CEST 2006
- Added missing braces to prevent a segfault after usage of an
undeclared cursor.
We Jul 5 12:17:28 CEST 2006
- Fixed most of the remaining Coverity bugs.
Fr Jul 28 11:00:51 CEST 2006
- Added more SoC changes by Joachim Wieland <[email protected]>:
- SHOW statement puts result into a variable
- COPY TO STDOUT works
- Connection identifier has to be unique
- Variables should be free'ed only once.
Tu Aug 1 15:04:52 CEST 2006
- Applied patch by Joachim Wieland <[email protected]> to fix segfault
occuring when using --enable-thread-safety.
We Aug 2 13:15:25 CEST 2006
- Synced parser and keyword list.
- Implemented EXEC SQL UNDEF.
- Applied first version of the regression test patch by Joachim
Wieland <[email protected]>.
Fr Aug 4 10:44:30 CEST 2006
- Applied test suite update by Joachim Wieland <[email protected]>.
Mo Aug 7 14:56:44 CEST 2006
- Joachim fixed some bugs in numeric handling in pgtypeslib.
Tu Aug 8 13:26:25 CEST 2006
- Made parser check for valid copy to/from stdin/stdout combinations.
We Aug 9 09:28:56 CEST 2006
- Fixed error handling in numeric conversion (Joachim).
- Fixed some memory bugs that somehow reappeared.
- Also fixed a new Coverity report.
Su Aug 13 11:01:13 CEST 2006
- Applied patch for VPATH builds by Alvaro Herrera
<[email protected]>
- Merged dyntest.pgc and dyntest2.pgc.
Mo Aug 14 10:39:59 CEST 2006
- Added lots of SoC stuff made by Joachim.
- Fixed broken newline on Windows.
- Fixed a nasty buffer underrun that only occured when using Informix
no_indicator NULL setting on timestamps and intervals.
Fr 18. Aug 17:32:54 CEST 2006
- Changed lexer to no longer use the default rule.
- Synced parser and keyword list.
- Fixed parsing of CONNECT statement so it accepts a C string again.
- Fixed a buffer overrun that was masked on Linux systems.
Sa 19. Aug 14:11:32 CEST 2006
- More SoC stuff.
Tu 22. Aug 13:54:08 CEST 2006
- Descriptor values were quoted twice.
We 23. Aug 09:32:14 CEST 2006
- Replaced double-quote-fix with a hopefully better version.
- Use initializer string length as size for character strings.
- Added ecpg_config.h file that is created via configure.
Th 24. Aug 11:53:29 CEST 2006
- Fixed of by one variable size.
- Synced parser.
Su 27. Aug 17:54:36 CEST 2006
- Enabled single-quoted connection targets.
- Fixed a memory leak/segfault in unsuccessful connection.
Tu 29. Aug 14:21:31 CEST 2006
- Fixed parser and library to allow empty database names.
- Streamlined connection name parsing.
Su 3. Sep 14:21:29 CEST 2006
- Synced parser.
- Added another regression test and fixed tcp test.
Tu 5. Sep 11:49:08 CEST 2006
- Synced parser.
- Fixed ecpglib trying to read one character after end-of-string.
- Fixed port number setting in regression suite.
- Added some interval checks to regression suite.
- Started to cleanup complex tests.
Th 14. Sep 09:47:03 CEST 2006
- Completely removed complex tests.
- Added missing constuctor/destructor for interval and date.
We 8. Nov 10:53:42 CET 2006
- Applied patch by Peter Harris to free auto_mem struct in ECPGconnect.
- Set ecpg library version to 5.2.
- Set ecpg version to 4.2.1.
|