ChangeLog 27.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
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

M
Marc G. Fournier 已提交
11 12 13 14 15 16
	- 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.
17 18 19

Fri Feb 13 12:35:58 CET 1998

M
Marc G. Fournier 已提交
20 21 22
	- 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.
23 24 25

Fre Feb 13 14:12:41 CET 1998

M
Marc G. Fournier 已提交
26
	- struct definitions now work completely.
27

M
Marc G. Fournier 已提交
28
Mon Feb 16 16:17:21 CET 1998
29

M
Marc G. Fournier 已提交
30 31
	- enable initialisation in declare section.
	- connect call accepts a variable as well. 
32 33 34 35 36 37 38 39 40

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

41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
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
59 60 61 62 63 64

Wed Feb 25 15:46:50 CET 1998

	- corrected whenever continue handling
	- removed whenever break

65 66 67 68 69 70 71 72 73
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'

74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
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
M
Marc G. Fournier 已提交
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

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.
124
	- Set version to 2.0.0
M
Marc G. Fournier 已提交
125 126 127 128 129

Tue Apr 21 12:53:49 CEST 1998

	- Set indicator to amount of data really written (truncation).

130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
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
145 146 147 148 149 150 151

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

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
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
M
 
Marc G. Fournier 已提交
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

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

M
 
Marc G. Fournier 已提交
231 232 233 234
Tue May 19 11:49:34 CEST 1998

	- Tested (and fixed) 'set connection'
	- Fixed string notation in C
M
 
Marc G. Fournier 已提交
235 236 237 238 239 240

Wed May 20 10:46:48 CEST 1998

	- Fixed handling of preprocessor directives and variable
	  initialization.
	- Added enum datatype.
M
 
Marc G. Fournier 已提交
241
	- Set version to 2.3.2
M
 
Marc G. Fournier 已提交
242 243 244 245 246 247 248 249 250

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
M
 
Marc G. Fournier 已提交
251 252 253 254 255 256 257 258 259 260

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
M
 
Marc G. Fournier 已提交
261 262 263 264 265 266 267 268 269 270 271 272

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
273 274 275 276 277 278 279

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
M
 
Marc G. Fournier 已提交
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299

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

M
 
Marc G. Fournier 已提交
300 301 302 303 304 305 306 307 308 309 310 311 312 313
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
M
 
Marc G. Fournier 已提交
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337

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

M
 
Marc G. Fournier 已提交
338
	- Added missing ';' in preproc.y
M
 
Marc G. Fournier 已提交
339
	- Set version to 2.4.2
T
Thomas G. Lockhart 已提交
340 341 342 343 344 345 346 347 348 349 350

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

351
Mon Okt 12 12:36:04 CEST 1998
T
Thomas G. Lockhart 已提交
352

353 354 355 356 357 358
	- 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
M
 
Marc G. Fournier 已提交
359

M
 
Marc G. Fournier 已提交
360
Wed Dec  9 20:24:54 MEZ 1998
M
 
Marc G. Fournier 已提交
361 362 363 364

	- Synced preproc.y with gram.y and the keywords.c files to add CASE
	  statement.

M
 
Marc G. Fournier 已提交
365
Tue Dec 22 19:16:11 CET 1998
M
 
Marc G. Fournier 已提交
366 367 368

	- Synced preproc.y with gram.y for locking statements.
	- Set version to 2.4.5
369

M
 
Marc G. Fournier 已提交
370
Tue Jan  7 19:19:34 CET 1999
371 372 373

	- Synced preproc.y with gram.y for for-update clause and changes in
	  handling of numerics
374

M
 
Marc G. Fournier 已提交
375
Mon Jan 18 19:22:44 CET 1999
376 377 378

	- Added INTERSECT, EXCEPT and UNION for Select statements
	- Put keywords.c in sync again after forgettimg it the last time.
M
 
Marc G. Fournier 已提交
379 380 381 382 383 384 385

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
M
 
Marc G. Fournier 已提交
386 387 388 389 390 391 392 393 394 395 396 397

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
 
M
 
Marc G. Fournier 已提交
398 399 400 401 402
Tue Feb  2 07:40:52 CET 1999

	- Brought preproc.y in sync again with gram.y.
	- Set ecpg version to 2.4.9

M
 
Marc G. Fournier 已提交
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
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
M
 
Marc G. Fournier 已提交
460 461 462 463 464 465

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
M
 
Marc G. Fournier 已提交
466 467 468 469 470 471 472 473 474

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
M
Michael Meskes 已提交
475
	  requires me to increase the major version number of libecpg.
M
 
Marc G. Fournier 已提交
476 477
	- Synced pgc.l with scan.l.
	- Added support for unions.
M
 
Marc G. Fournier 已提交
478 479 480 481 482 483 484 485 486 487 488 489

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.
M
Michael Meskes 已提交
490 491 492 493 494 495 496 497 498 499 500

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.
M
Michael Meskes 已提交
501 502 503 504

Sat Mar  6 14:06:07 CET 1999

	- Replaced placeholder ';;' by '?' since this is what standard says.
M
Michael Meskes 已提交
505 506 507 508 509 510 511 512

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.
M
Michael Meskes 已提交
513 514 515 516

Sun Mar 14 15:44:18 CET 1999

	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
517 518 519 520 521

Thu Mar 18 18:57:31 CET 1999

	- Synced preproc.y with gram.y.
	- Added '%' operator.
M
Michael Meskes 已提交
522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537

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.
M
Michael Meskes 已提交
538 539 540 541 542 543 544 545 546

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.
M
Michael Meskes 已提交
547 548 549 550 551 552 553 554 555 556 557

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.
M
Michael Meskes 已提交
558 559 560 561
	
Wed Apr 14 17:59:06 CEST 1999

	- Added simple calculations for array bounds.
M
Michael Meskes 已提交
562 563 564 565

Fri Apr 16 18:25:18 CEST 1999

	- Fixed small bug in ECPGfinish().
M
Michael Meskes 已提交
566 567 568 569 570 571

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.
M
Michael Meskes 已提交
572

M
Michael Meskes 已提交
573
Fri May  7 07:11:38 CEST 1999
M
Michael Meskes 已提交
574 575 576

	- Synced preproc.y with gram.y.
	- Fixed small bug in parser.
M
Michael Meskes 已提交
577

M
Michael Meskes 已提交
578 579 580 581 582
Thu May 13 13:51:26 CEST 1999

	- Synced preproc.y with gram.y.

Mon May 17 18:13:30 CEST 1999
M
Michael Meskes 已提交
583 584

	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
585 586 587 588

Fri May 21 18:13:44 CEST 1999

	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
589 590 591 592

Sun May 23 11:19:32 CEST 1999

	- Add braces around each statement so that a simple if/else works.
M
Michael Meskes 已提交
593 594 595 596 597

Thu Jun 10 21:09:12 CEST 1999

	- Fixed typo in preproc.y.
	- Synced pgc.l with scan.l.
M
Michael Meskes 已提交
598 599 600 601

Wed Jun 16 20:21:42 CEST 1999

	- Fixed another typo in preproc.y.
M
Michael Meskes 已提交
602 603 604 605

Thu Jun 24 18:06:43 CEST 1999

	- Fixed C comment bug that caused ecpg to not accept quoted quotes.
M
Michael Meskes 已提交
606 607 608 609

Fri Jun 25 07:17:10 CEST 1999

	- Changed error message in ecpglib.c to list correct database name.
M
 
Marc G. Fournier 已提交
610
	- Set library version to 3.0.0
M
Michael Meskes 已提交
611
	- Set ecpg version to 2.6.0
M
Michael Meskes 已提交
612 613 614 615 616 617 618 619

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
M
Michael Meskes 已提交
620 621 622 623 624

Sun Aug  1 13:31:19 CEST 1999

	- Synced preproc.y with gram.y.
	- Set ecpg version to 2.6.2
M
Michael Meskes 已提交
625 626 627 628 629 630 631 632 633

Tue Sep 14 22:26:40 CEST 1999

	- Added patch by Andreas Theofilu <theofilu@eunet.at> 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
M
Michael Meskes 已提交
634 635 636 637 638 639 640

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

M
Michael Meskes 已提交
641 642 643 644 645
Fri Sep 17 18:16:34 CEST 1999

	- Made sure sqlca is initialized everytime.
	- Set library version to 3.0.3

M
Michael Meskes 已提交
646 647 648 649 650
Mon Sep 27 07:40:20 CEST 1999

	- Synced preproc.y with gram.y.
	- Synced keyword.c.
	- Set ecpg version to 2.6.5
M
Michael Meskes 已提交
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

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 <christof.petig@wtal.de>:
		- 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

M
Michael Meskes 已提交
677 678 679 680 681 682 683 684 685 686 687
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
M
Michael Meskes 已提交
688 689 690 691 692 693 694 695 696

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
M
Michael Meskes 已提交
697 698 699 700 701 702

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

M
Michael Meskes 已提交
703 704 705 706 707
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.
M
Michael Meskes 已提交
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722

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.
M
Michael Meskes 已提交
723 724 725 726 727 728

Tue Nov 23 07:59:01 CET 1999

	- Ignore locale setting in ECPGdo.
	- Set library version to 3.0.7.

M
Michael Meskes 已提交
729 730 731 732
Fri Dec  3 16:35:07 CET 1999

	- Fixed memory leak in ecpglib.
	- Set library version to 3.0.8.
M
Michael Meskes 已提交
733 734 735 736 737 738 739

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.

M
Michael Meskes 已提交
740 741 742 743 744 745 746 747 748 749 750 751
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.
M
Michael Meskes 已提交
752 753 754 755 756 757

Thu Dec 23 13:25:05 CET 1999

	- Fixed command line parsing. 
	- Set ecpg version to 2.6.13.

M
Michael Meskes 已提交
758 759 760 761
Thu Jan  6 09:52:27 CET 2000

	- Synced preproc.y with gram.y.
	- Set ecpg version to 2.6.14.
M
Michael Meskes 已提交
762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777

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.
M
Michael Meskes 已提交
778 779 780 781 782 783 784 785 786 787 788 789 790 791 792

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.
M
Michael Meskes 已提交
793 794 795 796

Mon Feb 14 10:35:18 CET 2000

	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
797 798 799 800 801

Tue Feb 15 11:14:07 CET 2000

	- Synced keyword.c.
	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
802 803 804 805 806

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.
M
Michael Meskes 已提交
807
	- Set library version to 3.0.10.
M
Michael Meskes 已提交
808 809 810 811

Wed Feb 16 11:57:02 CET 2000

	- Fixed library to be able to input complete arrays.
M
Michael Meskes 已提交
812 813 814 815 816

Wed Feb 16 17:04:41 CET 2000

	- Apply patch by Christof Petig <christof.petig@wtal.de> that adds
	  descriptors.
M
Michael Meskes 已提交
817 818 819 820 821

Thu Feb 17 19:37:44 CET 2000

	- Synced preproc.y with gram.y.
	- Started to clean up preproc.y.
M
Michael Meskes 已提交
822 823 824 825 826

Tue Feb 22 13:48:18 CET 2000

	- Synced preproc.y with gram.y.
	- Much more clean ups.
M
Michael Meskes 已提交
827 828 829 830

Wed Feb 23 17:08:28 CET 2000

	- Even more clean ups.
M
Michael Meskes 已提交
831 832 833 834

Fri Feb 25 16:13:11 CET 2000

	- Fixed some bugs I created when I cleaned up, thanks Christof.
M
Michael Meskes 已提交
835 836 837 838 839

Wed Mar  1 10:49:03 CET 2000

	- Synced preproc.y with gram.y.
	- Added output of arrays.
M
Michael Meskes 已提交
840 841 842 843 844 845

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.
M
Michael Meskes 已提交
846 847 848 849 850

Thu Mar  2 17:42:16 CET 2000

	- Print error message if an indicator array is given for input
	  variables.
M
Michael Meskes 已提交
851 852 853 854

Fri Mar  3 10:47:06 CET 2000

	- Fixed handling of double quote in C code.
M
Michael Meskes 已提交
855 856 857 858 859

Tue Mar  7 10:58:21 CET 2000

	- More cleanup in ecpglib.
	- Fixed ecpg.c not not free variable list twice.
M
Michael Meskes 已提交
860 861 862 863

Thu Mar  9 10:12:57 CET 2000

	- Fixed another memory bug in the parser.
M
Michael Meskes 已提交
864 865 866 867 868 869

Wed Mar 15 17:36:02 CET 2000

	- Synced preproc.y with gram.y.
	- Synced pgc.l with scan.l.
	- Synced keyword.c.
M
Michael Meskes 已提交
870 871 872 873

Sun Mar 19 11:03:13 CET 2000

	- Fixed quoting bug in disconnect statement.
M
Michael Meskes 已提交
874 875 876 877

Thu Mar 23 08:13:39 CET 2000

	- Synced preproc.y and keyword.c.
M
Michael Meskes 已提交
878 879 880 881 882 883 884 885 886

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.
M
Michael Meskes 已提交
887 888 889 890

Fri Mar 31 08:25:58 CEST 2000

	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
891 892 893 894 895 896

Mon Apr  3 21:20:27 CEST 2000

	- Made sure pointers are correctly inserted by libecpg. My thanks go
	  to Jan Urbanek <jan@urbanek.cz> for findin many bugs before the
	  release. 
M
Michael Meskes 已提交
897 898 899 900 901 902 903 904

Wed Apr  5 07:54:56 CEST 2000

	- Added patch by Peter Eisentraut <e99re41@DoCS.UU.SE> 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.
M
Michael Meskes 已提交
905 906 907 908

Wed Apr  5 17:35:53 CEST 2000

	- Fixed handling of bool variables.
M
Michael Meskes 已提交
909 910 911 912 913

Sat Apr  8 13:10:12 CEST 2000

	- Synced preproc.y with gram.y.
	- Synced keyword.c.
M
Michael Meskes 已提交
914
	- Set library version to 3.1.0.
M
Michael Meskes 已提交
915
	- Set ecpg version to 2.7.0.
M
Michael Meskes 已提交
916 917 918 919 920 921

Mon May 15 10:51:31 CEST 2000

	- Added patch by SAKAIDA Masaaki <sakaida@psn.co.jp> to fix segfault.
	- Set ecpg version to 2.7.1.

M
Michael Meskes 已提交
922 923 924 925 926
Wed May 17 07:52:59 CEST 2000

	- Added patch by SAKAIDA Masaaki <sakaida@psn.co.jp> to fix array
	  handling.
	- Set library version to 3.1.1.
M
Michael Meskes 已提交
927

928
Mon Sep  4 14:10:38 CEST 2000
M
Michael Meskes 已提交
929 930 931 932

	- Synced preproc.y with gram.y.  
	- Synced keyword.c. 

933
Mon Sep 18 13:55:11 CEST 2000
M
Michael Meskes 已提交
934 935

	- Added int8 support based on a patch by Martijn Schoemaker <martijn@osp.nl>
M
Michael Meskes 已提交
936

937
Wed Sep 20 12:40:27 CEST 2000
M
Michael Meskes 已提交
938 939 940 941 942

	- Added patch by Christof Petig <christof.petig@wtal.de> to process
	  backend NOTICEs.
	- Added patch by Christof Petig <christof.petig@wtal.de> to cache
	  type information.
M
Michael Meskes 已提交
943

944
Thu Sep 21 13:54:13 CEST 2000
M
Michael Meskes 已提交
945 946

	- Enabled parser to accept ip addresses instead of host names.
M
Michael Meskes 已提交
947

948
Tue Sep 26 13:00:16 CEST 2000
M
Michael Meskes 已提交
949 950 951 952 953

	- Synced preproc.y with gram.y.
        - Synced keyword.c.   
	- Added patch by Christof Petig <christof.petig@wtal.de> to fix NOT
	  FOUND problem on update/insert/delete.
954 955 956 957 958

Wed Oct  4 14:36:51 CEST 2000

	- Added patch by Christof Petig <christof.petig@wtal.de> to fix
	  missing NOTICE.
M
Michael Meskes 已提交
959 960 961 962

Wed Oct 11 16:49:36 CEST 2000

	- Synced preproc.y with gram.y.
963 964 965 966 967

Thu Oct 12 20:13:00 CEST 2000

	- Changed parser to accept a variable instead of a constant wherever
	  possible.
968 969 970 971

Mon Oct 16 21:33:17 CEST 2000

	- Fixed handling of variables in connect rule.
972 973 974

Tue Oct 17 08:09:16 CEST 2000

975 976 977 978 979
	- Simplified parsing of connect rule.

Tue Oct 17 17:36:30 CEST 2000

	- Fixed some bugs in C language parsing. 
980 981 982 983 984

Sun Oct 22 15:35:53 CEST 2000

	- Fixed typos in descriptor.c.

985 986 987
Wed Oct 25 08:53:07 CEST 2000

	- Added some more C constructs to the parser.
M
Michael Meskes 已提交
988 989 990 991

Wed Oct 25 21:22:17 CEST 2000

	- Synced gram.y and preproc.y.
992 993 994 995 996 997

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 (sd@b-comp.de).
M
Michael Meskes 已提交
998 999 1000 1001

Mon Oct 30 15:27:12 CET 2000

	- Synced gram.y and preproc.y. 
1002 1003 1004 1005 1006

Tue Oct 31 16:09:55 CET 2000

	- Added patch by Christof Petig <christof.petig@wtal.de> fixing some
	  parser bugs.
M
Michael Meskes 已提交
1007 1008 1009 1010 1011

Fri Nov  3 11:34:43 CET 2000

	- Synced pgc.l with scan.l.
	- Synced gram.y and preproc.y.
1012 1013 1014 1015

Sat Nov  4 17:42:43 CET 2000

	- Added patch by Christof Petig to fix several small bugs.
1016 1017 1018 1019 1020 1021

Thu Nov  9 14:40:18 CET 2000

	- Synced gram.y and preproc.y. 
	- Synced keyword.c.
	- Added just another patch by Christof Petig.
M
Michael Meskes 已提交
1022 1023 1024 1025

Sat Nov 18 16:28:11 CET 2000

	- Synced gram.y and preproc.y.         
M
Michael Meskes 已提交
1026 1027 1028 1029 1030 1031

Mon Dec 18 12:27:52 CET 2000

	- Synced gram.y and preproc.y.
	- Synced keyword.c.
	- Added several small patches from Christof.
1032 1033 1034 1035 1036

Fri Dec 22 13:33:31 CET 2000

	- Fixed bug in a connect statement using varchars.
	- Synced gram.y and preproc.y.   
M
Michael Meskes 已提交
1037

1038
Mon Jan 22 17:56:02 CET 2001
M
Michael Meskes 已提交
1039

1040 1041
	- Synced gram.y and preproc.y.   
	- Added #include "postgres.h" to pgc.l.
1042 1043 1044 1045

Tue Jan 23 08:54:14 CET 2001

	- Moved database name handling to libecpg.
M
Michael Meskes 已提交
1046 1047 1048 1049

Thu Jan 25 21:14:38 CET 2001

	- Synced gram.y and preproc.y.     
1050 1051 1052 1053

Wed Jan 31 17:11:04 CET 2001

	- Added two bug fixes by Christof Petig.
M
Michael Meskes 已提交
1054 1055 1056 1057

Mon Feb 19 08:25:14 CET 2001

	- Synced gram.y and preproc.y.
1058 1059 1060 1061

Mon Feb 26 15:22:04 CET 2001

	- Fixed misplaced variables FoundInto and QueryIsRule.
1062

M
Michael Meskes 已提交
1063
Thu Mar 29 10:23:05 CEST 2001
1064 1065

	- Applied bug fix in ecpgtype.h by Adriaan Joubert.
M
Michael Meskes 已提交
1066 1067 1068 1069

Mon Apr  2 10:16:10 CEST 2001

	- Synced scan.l and pgc.l.
1070 1071 1072 1073

Thu Apr  5 10:11:35 CEST 2001

	- Fixed long long problem.
M
Michael Meskes 已提交
1074 1075
	- Set ecpg version to 2.8.0. 
	- Set library version to 3.2.0.
1076 1077 1078 1079 1080 1081

Fri Jun  1 08:13:25 CEST 2001

	- Synced preproc.y with gram.y.
	- Synced pgc.l with scan.l.
	- Synced keyword.c.
M
Michael Meskes 已提交
1082 1083 1084 1085 1086

Wed Jun 13 14:39:12 CEST 2001

	- Synced preproc.y with gram.y.  
	- Applied bug fix by John Summerfield.
M
Michael Meskes 已提交
1087 1088 1089 1090 1091

Son Aug 19 11:04:39 CEST 2001

	- Synced preproc.y with gram.y. 
	- Include some patches by Christof Petig <christof.petig@wtal.de>.
M
Michael Meskes 已提交
1092 1093 1094 1095 1096 1097 1098

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 <christof.petig@wtal.de>.
1099 1100 1101 1102 1103

Tue Sep 25 20:10:03 CEST 2001

	- Synced preproc.y with gram.y.
	- Changed locale handling.
M
Michael Meskes 已提交
1104

M
Michael Meskes 已提交
1105
Mon Oct  1 13:49:40 CEST 2001
M
Michael Meskes 已提交
1106 1107 1108 1109

	- Fixed truncate bug.
	- Added patch by Christof Petig <christof.petig@wtal.de> to clean up
	  ecpglib.
1110

M
Michael Meskes 已提交
1111
TUe Oct  2 16:09:26 CEST 2001
1112 1113 1114

	- Re-added Tom's patch fixing my setlocale patch. I accidently
	  deleted it.
M
Michael Meskes 已提交
1115

M
Michael Meskes 已提交
1116
Fri Oct  5 08:37:01 CEST 2001
M
Michael Meskes 已提交
1117 1118

	- Fixed yet another typo in preproc.y.
1119

M
Michael Meskes 已提交
1120
Fri Oct  5 19:33:46 CEST 2001
1121 1122

	- Make sure every call to ECPGraise is logged.
1123

M
Michael Meskes 已提交
1124
Mon Oct  8 10:10:23 CEST 2001
1125 1126 1127

	- Fix include file so library is binary compatible again.

M
Michael Meskes 已提交
1128 1129 1130 1131
Sun Oct 14 14:07:59 CEST 2001

	- Fixed GRANT statement.
	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
1132 1133 1134 1135 1136

Thu Oct 18 12:57:04 CEST 2001

	- Added patch by Lee Kindness <lkindness@csl.co.uk> fixing several
	  bugs.
1137 1138 1139 1140

Fri Oct 19 16:32:06 CEST 2001

	- Removed "not yet fully implemented" warnig for nullif.
M
Michael Meskes 已提交
1141 1142 1143 1144

Sun Oct 21 14:19:42 CEST 2001

	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
1145 1146 1147 1148

Fri Nov  2 16:16:25 CET 2001

	- Synced preproc.y with gram.y.
M
Michael Meskes 已提交
1149 1150 1151 1152

Wed Nov 14 11:50:27 CET 2001

	- Added several patches by Christof Petig <christof.petig@wtal.de>.
1153 1154 1155 1156

Tue Dec  4 13:30:32 CET 2001

	- Fixed dumping of structures without indicators.
1157 1158 1159 1160 1161 1162

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
1163 1164 1165 1166 1167 1168
	  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.
1169 1170 1171 1172

Sat Dec  8 21:35:45 CET 2001

	- Fix ecpg to allow pointer to structs.
1173 1174 1175 1176 1177

Sun Dec  9 16:21:30 CET 2001

	- Fixed several bugs concerning indicators and added error messages
	  instead of segfaults.
1178 1179 1180 1181 1182 1183 1184 1185 1186

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.
1187 1188 1189 1190

Mon Jan  7 12:18:01 CET 2002

	- Fixed parser to accept initializing expressions starting with "(".
1191 1192 1193 1194

Tue Jan  8 15:16:37 CET 2002

	- Fixed array pointers, no longer using void *.
M
Michael Meskes 已提交
1195 1196 1197 1198

Thu Jan 10 11:12:14 CET 2002

	- Include sqlca.h automatically.
M
Michael Meskes 已提交
1199 1200 1201 1202 1203

Fri Jan 11 15:43:39 CET 2002

	- clear sqlca on : [de]allocate descriptor  & get descriptor and set
	  sqlca.sqlerrd[2] accordingly (Christof).
1204 1205 1206 1207 1208 1209

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.
1210 1211 1212 1213

Fri Jan 18 16:49:02 CET 2002

	- Accept subsequent commits.
1214 1215 1216 1217

Wed Jan 23 17:35:23 CET 2002

	- Added patch to temporarily disable locale for descriptors too (Christof).
M
Michael Meskes 已提交
1218 1219
	- Set ecpg version to 2.9.0.
        - Set library version to 3.3.0.
M
Michael Meskes 已提交
1220 1221 1222 1223

Wed Mar  6 10:40:28 CET 2002

	- Synced preproc.y with gram.y.
1224 1225 1226 1227

Sun Mar 10 13:08:22 CET 2002

	- Fixed two bugs in define command in lexer.
1228 1229 1230 1231 1232 1233

Thu Mar 21 08:25:08 CET 2002

	- Applied patch by Nicolas Bazin <nbazin@ingenico.com.au> for improved
	  typedef handling.
	- Added option '-c' to automatically create C typedef from SQL one.
M
Michael Meskes 已提交
1234 1235 1236 1237 1238 1239

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.
1240 1241 1242 1243 1244

Mon Apr 22 20:44:56 CEST 2002
	
	- Synced preproc.y with gram.y.
	- Synced keywords.c.
M
Michael Meskes 已提交
1245 1246 1247
	- Set ecpg version to 2.10.0.
	- Set library version to 3.4.0.