summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc
AgeCommit message (Collapse)Author
2003-10-04Format help message internally consistent.Peter Eisentraut
2003-09-27Rename thread compile flag. Move thread test program to tools/thread,Bruce Momjian
and improve tests.
2003-09-26Fixed segfault after error in parsing precision argument.Michael Meskes
2003-09-24Fix creation of temporary sequences in ecpg, per report from Edmund Bacon.Bruce Momjian
2003-09-23- Changed struct definition handling so "struct foo {}" always gets defined.Michael Meskes
2003-09-22- Fixed order mismatch in processing "using" arguments.Michael Meskes
- Fixed some minor things in test cases. - Use defines for Informix error codes.
2003-09-19One small typo in preprocessor.Michael Meskes
2003-09-19Removed superfluous return statement in get_data.Michael Meskes
2003-09-18- Accept output variables for FETCH in DECLARE statement.Michael Meskes
- Synced parser. - Allowed C variables to carry the name of prepared statements. - Added Informix handling of datatype converion errors.
2003-09-09- Added Dave patch for Informix handling of numeric/int conversion.Michael Meskes
- Changed all new datatypes to lowercase. - Fixed rounding bug in numerical types.
2003-08-26Fixed connect statement with username in variable.Michael Meskes
2003-08-25Synced parser and fixed a bug in error output to log file.Michael Meskes
2003-08-06Fix compiler-detected problem for Alphas: it seems strlen returnsTom Lane
something wider than int on that platform. Also, remove bogus assumption that sizeof("INT_MAX") has something to do with the maximum number of digits in an int.
2003-08-06Add ecpg thread testing file.Bruce Momjian
2003-08-04Update copyrights to 2003.Bruce Momjian
2003-08-04pgindent run.Bruce Momjian
2003-08-01Added missing TO keyword.Michael Meskes
2003-08-01- Added some Informix error codes in Informix mode.Michael Meskes
- Added just another pgtypeslib function.
2003-07-25Applied Peter's patch to use yyless instead of my string_unput function.Michael Meskes
2003-07-18Added more compat stuff ot the parser.Michael Meskes
2003-07-14Missed one rule in syncinc preproc.y which resulted in reduce/reduce conflicts.Michael Meskes
2003-07-14 - Synced preproc.y with gram.yMichael Meskes
- Init sqlca in ECPGprepare(). - Added CLOSE DATABASE for Informix compatibility.
2003-07-09Argh! Missed one file.Michael Meskes
2003-07-08More informix fixes.Michael Meskes
2003-07-07"char *" of course is not the same as "char []". So I had to fix the way ↵Michael Meskes
ecpg treated the second one.
2003-07-01Use ISO dates in pgtypeslib by default.Michael Meskes
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.
2003-06-29- Made sure Informix style decimal vars are initialized. They use aMichael Meskes
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?
2003-06-29Just another sync.Michael Meskes
2003-06-27Create real array comparison functions (that use the element datatype'sTom Lane
comparison functions), replacing the highly bogus bitwise array_eq. Create a btree index opclass for ANYARRAY --- it is now possible to create indexes on array columns. Arrange to cache the results of catalog lookups across multiple array operations, instead of repeating the lookups on every call. Add string_to_array and array_to_string functions. Remove singleton_array, array_accum, array_assign, and array_subscript functions, since these were for proof-of-concept and not intended to become supported functions. Minor adjustments to behavior in some corner cases with empty or zero-dimensional arrays. Joe Conway (with some editorializing by Tom Lane).
2003-06-26Added just another compatibility level for Informix.Michael Meskes
2003-06-25Back out array mega-patch.Bruce Momjian
Joe Conway
2003-06-25Implemented Informix special way to treat NULLs, removed warnings, synced.Michael Meskes
2003-06-24Array mega-patch.Bruce Momjian
Joe Conway
2003-06-20Synced with backend.Michael Meskes
2003-06-20Just another Informix compatibility change. They uses "free" for cursors as ↵Michael Meskes
wellafter closing them.
2003-06-20Allow constants in using clauses.Michael Meskes
2003-06-19Fixed fetch into char * and added missing prototype for an Informix function.Michael Meskes
2003-06-17Fixed several more parsing bugs.Michael Meskes
2003-06-16Fixed two small bugs.Michael Meskes
2003-06-15Make ecpg thread safe.Bruce Momjian
Lee Kindness
2003-06-13- Enable FETCH without INTO.Michael Meskes
- Compatibility functions for INFORMIX handling of DECLARE statement.
2003-06-11Make sure a variable is no longer referenced when it is removed.Michael Meskes
Fixed counting bug in parsing "->" operator. Removed that silly debugging function I accidently committed last night.
2003-06-10Fixed some bugs.Michael Meskes
2003-06-02Fixed segfault in forward definition parsing.Michael Meskes
2003-05-30Create a real prototype function for describe.Michael Meskes
2003-05-30Sync and some minor cleanup/fixing work plus an EXEC SQL DESCRIBE prototype.Michael Meskes
2003-05-29Changed variable parsing so struct[n].attr works.Michael Meskes
2003-05-29Parse forward definiton of structs.Michael Meskes
2003-05-27Allow input from stdin and output to stdout.Michael Meskes
2003-05-27Fixed incorrect output for some structs.Michael Meskes