aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/variable.c
Commit message (Collapse)AuthorAge
* There is no need to have to identical functions in ecpg thus removing one of ↵Michael Meskes2011-01-09
| | | | them.
* Remove cvs keywords from all files.Magnus Hagander2010-09-20
|
* Zoltan beautified his hidden-variable-patch for ecpg. This also makes sure ↵Michael Meskes2010-04-01
| | | | we get an error message instead of a warning if the variable have different types.
* Applied Zoltan's patch to make ecpg spit out warnings if a local variable ↵Michael Meskes2010-04-01
| | | | hides a global one with the same name.
* ecpg now adds a unique counter to its varchar struct definitions to make ↵Michael Meskes2010-03-09
| | | | these definitions unique, too. It used to use the linenumber but in the rare case of two definitions in one line this was not unique.
* pgindent run for 9.0Bruce Momjian2010-02-26
|
* Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to add out-of-scope ↵Michael Meskes2010-01-26
| | | | cursor support to native mode.
* Added dynamic cursor names to ecpg. Almost the whole patch was done byMichael Meskes2009-11-26
| | | | Boszormenyi Zoltan, with only a minor tweak or two from me.
* Added STRING datatype for Informix compatibility mode. This work isMichael Meskes2009-08-07
| | | | based on a patch send in by Böszörményi Zoltán <zb@cybertec.at>.
* 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef listBruce Momjian2009-06-11
| | | | provided by Andrew.
* Gettext plural supportPeter Eisentraut2009-03-26
| | | | | | In the backend, I changed only a handful of exemplary or important-looking instances to make use of the plural support; there is probably more work there. For the rest of the source, this should cover all relevant cases.
* Message format tuningPeter Eisentraut2009-01-26
|
* Message style reviewPeter Eisentraut2009-01-23
|
* Add localization support to ecpg.Peter Eisentraut2008-05-16
| | | | Author: Euler Taveira de Oliveira <euler@timbira.com>
* - Fixed segfault in ecpg when using an array element.Michael Meskes2008-02-07
| | | | - Free all memory in auto-prepare mode.
* Fixed a few minor glitches pointed out by splint.Michael Meskes2007-12-21
|
* - Finished major rewrite to use new protocol versionMichael Meskes2007-08-14
| | | | | | | | - Really prepare statements - Added more regression tests - Added auto-prepare mode - Use '$n' for positional variables, '?' is still possible via ecpg option - Cleaned up the sources a little bit
* Replaced $Header$ by $§PosgreSQL$Michael Meskes2006-07-30
|
* Added missing $Header$ entries.Michael Meskes2006-07-30
|
* Standard pgindent run for 8.1.Bruce Momjian2005-10-15
|
* Fixed bug in parsing of typedef'ed array sizes.Michael Meskes2004-12-06
| | | | Synced parser.
* Pgindent run for 8.0.Bruce Momjian2004-08-29
|
* Made sure SET DESCRIPTOR accepts all data types including constants.Michael Meskes2004-07-04
|
* Added SET DESCRIPTOR command.Michael Meskes2004-06-30
| | | | | 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.
* - Only use typedefs inside their scope.Michael Meskes2004-06-27
| | | | | | - 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.
* - Added additional test case.Michael Meskes2004-05-07
| | | | | - Fixed bug that reversed string length in typedefs. - Added portability file to pgtypeslib.
* Fixed memory misusage in variable handling.Michael Meskes2004-04-23
|
* - Fixed segfault due to missing check for variable declaration.Michael Meskes2004-03-04
| | | | - Added check for multidimensional array usage.
* Removed some debugging output.Michael Meskes2004-01-28
|
* - Issue a warning if a cursor is declared but not opened.Michael Meskes2004-01-28
| | | | | | - Fixed prototype for ECPGprepared_statement to not moan about "const char" - Fixed parsing of nested structures. - Added option to parse header files.
* - Added just another patch by Dave that fixes a reversed order inMichael Meskes2003-12-17
| | | | | variable listing for output variables in cursor definitions - Fixed incorrect if call in long=>numeric conversion.
* - Fixed order mismatch in processing "using" arguments.Michael Meskes2003-09-22
| | | | | - Fixed some minor things in test cases. - Use defines for Informix error codes.
* pgindent run.Bruce Momjian2003-08-04
|
* "char *" of course is not the same as "char []". So I had to fix the way ↵Michael Meskes2003-07-07
| | | | ecpg treated the second one.
* Create real array comparison functions (that use the element datatype'sTom Lane2003-06-27
| | | | | | | | | | | | | | | | 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).
* Back out array mega-patch.Bruce Momjian2003-06-25
| | | | Joe Conway
* Array mega-patch.Bruce Momjian2003-06-24
| | | | Joe Conway
* Make sure a variable is no longer referenced when it is removed.Michael Meskes2003-06-11
| | | | | Fixed counting bug in parsing "->" operator. Removed that silly debugging function I accidently committed last night.
* Changed variable parsing so struct[n].attr works.Michael Meskes2003-05-29
|
* Parse forward definiton of structs.Michael Meskes2003-05-29
|
* ecpg now recognizes named structs/unions. So you don't have to list the ↵Michael Meskes2003-05-22
| | | | whole definition everytime you declare a variable anymore.
* - Added more compatibility functions.Michael Meskes2003-05-14
| | | | | - Accept CPP defines for type definitions. - Do not parse system include files automatically for Informix mode
* pgindent run.Bruce Momjian2002-09-04
|
* I checked all the previous string handling errors and most of them wereBruce Momjian2002-09-02
| | | | | | | | | | | | | | | 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
* - Fixed variable handling for struct members.Michael Meskes2002-01-13
| | | | | - Removed check for array input. An attribut might store the complete array.
* - Removed space_or_nl and line_end from pgc.l.Michael Meskes2001-12-23
| | | | | - Fixed several bugs concerning arrays of structs including a memory allocation bug.
* committed the missing filesMichael Meskes2001-12-10
|
* // -> /* */, per Tatsuo.Bruce Momjian2001-11-21
|
* Committed again to add the missing files/patches.Michael Meskes2001-11-16
|
* Fixed bug in handling of pointers to structs.Michael Meskes2001-03-16
|