📄 changelog
字号:
- 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 <mevanecek@yahoo.com> 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 modeFri May 16 11:45:50 CEST 2003 - Fixed include in pgtypeslib to not include c.hFri 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 <lkindness@csl.co.uk> - 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 <dave@fastcrypt.com>. - 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.0Wed 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.1Mon 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 <tanida@sra.co.jp> and Atsushi Mitani <mitani@sraw.co.jp> 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 <christof@petig-baender.de> to work around gcc bug on powerpc and amd64.Thu Apr 14 11:59:47 CEST 2005 - Added patch by Philip Yarra <philip.yarra@internode.on.net> 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 <gavin@planetacetech.com> 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.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -