summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/variable.c
AgeCommit message (Collapse)Author
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2004-12-06Fixed bug in parsing of typedef'ed array sizes.Michael Meskes
Synced parser.
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-07-04Made sure SET DESCRIPTOR accepts all data types including constants.Michael Meskes
2004-06-30Added SET DESCRIPTOR command.Michael Meskes
Note that this still has some bugs. The functionality is there though, it's just a matter of fixing the bugs now. Cleaned up error handling in preprocessor.
2004-06-27- Only use typedefs inside their scope.Michael Meskes
- 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.
2004-05-07- Added additional test case.Michael Meskes
- Fixed bug that reversed string length in typedefs. - Added portability file to pgtypeslib.
2004-04-23Fixed memory misusage in variable handling.Michael Meskes
2004-03-04- Fixed segfault due to missing check for variable declaration.Michael Meskes
- Added check for multidimensional array usage.
2004-01-28Removed some debugging output.Michael Meskes
2004-01-28- Issue a warning if a cursor is declared but not opened.Michael Meskes
- Fixed prototype for ECPGprepared_statement to not moan about "const char" - Fixed parsing of nested structures. - Added option to parse header files.
2003-12-17- Added just another patch by Dave that fixes a reversed order inMichael Meskes
variable listing for output variables in cursor definitions - Fixed incorrect if call in long=>numeric conversion.
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-08-04pgindent run.Bruce Momjian
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-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-25Back out array mega-patch.Bruce Momjian
Joe Conway
2003-06-24Array mega-patch.Bruce Momjian
Joe Conway
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-05-29Changed variable parsing so struct[n].attr works.Michael Meskes
2003-05-29Parse forward definiton of structs.Michael Meskes
2003-05-22ecpg now recognizes named structs/unions. So you don't have to list the ↵Michael Meskes
whole definition everytime you declare a variable anymore.
2003-05-14 - Added more compatibility functions.Michael Meskes
- Accept CPP defines for type definitions. - Do not parse system include files automatically for Informix mode
2002-09-04pgindent run.Bruce Momjian
2002-09-02I checked all the previous string handling errors and most of them wereBruce Momjian
already fixed by You. However there were a few left and attached patch should fix the rest of them. I used StringInfo only in 2 places and both of them are inside debug ifdefs. Only performance penalty will come from using strlen() like all the other code does. I also modified some of the already patched parts by changing snprintf(buf, 2 * BUFSIZE, ... style lines to snprintf(buf, sizeof(buf), ... where buf is an array. Jukka Holappa
2002-01-13 - Fixed variable handling for struct members.Michael Meskes
- Removed check for array input. An attribut might store the complete array.
2001-12-23- Removed space_or_nl and line_end from pgc.l.Michael Meskes
- Fixed several bugs concerning arrays of structs including a memory allocation bug.
2001-12-10committed the missing filesMichael Meskes
2001-11-21// -> /* */, per Tatsuo.Bruce Momjian
2001-11-16Committed again to add the missing files/patches.Michael Meskes
2001-03-16Fixed bug in handling of pointers to structs.Michael Meskes
2001-02-10Restructure the key include files per recent pghackers discussion: thereTom Lane
are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
2000-09-19*** empty log message ***Michael Meskes
2000-04-12Ye-old pgindent run. Same 4-space tabs.Bruce Momjian
2000-03-09*** empty log message ***Michael Meskes
2000-03-07*** empty log message ***Michael Meskes
2000-03-02*** empty log message ***Michael Meskes
2000-02-22*** empty log message ***Michael Meskes
2000-02-17*** empty log message ***Michael Meskes