aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/ecpg.c
Commit message (Collapse)AuthorAge
...
* Some cleanup in ecpg code:Michael Meskes2010-11-02
| | | | | | Use bool as type for booleans instead of int. Do not implicitely cast size_t to int. Make the compiler stop complaining about unused variables by adding an empty statement.
* Remove cvs keywords from all files.Magnus Hagander2010-09-20
|
* pgindent run for 9.0, second runBruce Momjian2010-07-06
|
* Make ecpg in line with other compilers in that it deletes its output if ↵Michael Meskes2010-04-03
| | | | | | there was an error processing the input file. Work done by Zoltan.
* 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.
* Update copyright for the year 2010.Bruce Momjian2010-01-02
|
* Fixed copyright notice.Michael Meskes2009-08-05
|
* 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef listBruce Momjian2009-06-11
| | | | provided by Andrew.
* Sort the output of --help mostly alphabetical, make it align better, makePeter Eisentraut2009-02-25
| | | | help of pg_dump and pg_dumpall more similar.
* Whitespace fix in messagePeter Eisentraut2009-01-30
|
* Message style reviewPeter Eisentraut2009-01-23
|
* Append major version number and for libraries soname major version numberPeter Eisentraut2008-12-11
| | | | | | | to the gettext domain name, to simplify parallel installations. Also, rename set_text_domain() to pg_bindtextdomain(), because that is what it does.
* Add localization support to ecpg.Peter Eisentraut2008-05-16
| | | | Author: Euler Taveira de Oliveira <euler@timbira.com>
* - Removed duplicate include of ecpgtype.h which meant I had to adapt all ↵Michael Meskes2008-02-17
| | | | | | expected results. - Changed INFORMIX mode symbol definition yet again because the old way didn't work on NetBSD. Hopefully this one does.
* Fixed a few minor glitches pointed out by splint.Michael Meskes2007-12-21
|
* pgindent run for 8.3.Bruce Momjian2007-11-15
|
* Fixed bug in Informix define handling.Michael Meskes2007-08-29
|
* - 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
* Fixed one memory leak in descriptor code.Michael Meskes2007-06-11
| | | | Made sure ecpg deletes output file in case of an error.
* - Changed some whitespacing in connect statement.Michael Meskes2007-03-17
| | | | | | | - Made some chars const as proposed by Stefan Huehner <stefan@huehner.org>. - Synced parser and keyword lists. - Copied two token parsing from backend parser to ecpg parser. - Also added a test case for this.
* Wording cleanup for error messages. Also change can't -> cannot.Bruce Momjian2007-02-01
| | | | | | | | | | | | | | Standard English uses "may", "can", and "might" in different ways: may - permission, "You may borrow my rake." can - ability, "I can lift that log." might - possibility, "It might rain today." Unfortunately, in conversational English, their use is often mixed, as in, "You may use this variable to do X", when in fact, "can" is a better choice. Similarly, "It may crash" is better stated, "It might crash".
* Simplified regression handlingMichael Meskes2007-01-12
| | | | Added patch by Joachim to work around OpenBSD bug in regression suite.
* Applied Joachim's patch for a --regression option.Michael Meskes2007-01-11
| | | | | | Made this option mark the .c files, so the environment variable is no longer needed. Created a special MinGW file with the special error message. Do not print port into log file when running regression tests.
* Added just another test case.Michael Meskes2006-02-08
| | | | | | | Fixed missing continuation line character. Do not translate $-quoting. Bit field notation belongs to a variable not a variable list. Output of line number only done by one function.
* Standard pgindent run for 8.1.Bruce Momjian2005-10-15
|
* Fix misspelled error message.Tom Lane2005-08-29
|
* Get rid of perror(), substitute some better phrased error messages.Peter Eisentraut2004-11-09
| | | | malloc() doesn't set errno, so most uses were buggy anyway.
* Pgindent run for 8.0.Bruce Momjian2004-08-29
|
* Synced parser and keyword list.Michael Meskes2004-07-20
| | | | Fixed handling of cyclic defines.
* Attached is a patch that takes care of the PATHSEP issue. I made a moreBruce Momjian2004-06-10
| | | | | | | | | | | | | | | | | | | extensive change then what was suggested. I found the file path.c that contained a lot of "Unix/Windows" agnostic functions so I added a function there instead and removed the PATHSEP declaration in exec.c altogether. All to keep things from scattering all over the code. I also took the liberty of changing the name of the functions "first_path_sep" and "last_path_sep". Where I come from (and I'm apparently not alone given the former macro name PATHSEP), they should be called "first_dir_sep" and "last_dir_sep". The new function I introduced, that actually finds path separators, is now the "first_path_sep". The patch contains changes on all affected places of course. I also changed the documentation on dynamic_library_path to reflect the chagnes. Thomas Hallgren
* Reorganize code to allow path-relative installs.Bruce Momjian2004-05-17
| | | | | | | Create new get_* functions to access compiled-in paths and adjust if relative installs are to be used. Clean up substitute_libpath_macro() code.
* Rename find_my_binary/find_other_binary toBruce Momjian2004-05-12
| | | | | | | | | find_my_exec/find_other_exec(). Remove passing of progname to these functions as they can find that out from argv[0], which they already have. Make get_progname return const char *, and update all progname variables to be const char *.
* Fix typo.Tom Lane2004-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.
* Move Informix compatibility include files out of the way. compatlib.hPeter Eisentraut2003-12-18
| | | | | | was integrated into ecpg_informix.h, the other ones go into their own subdirectory that is automatically considered by the embedded preprocessor when in Informix mode.
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-29
|
* Complete options help and put it in less random order.Peter Eisentraut2003-11-02
|
* - Fixed constant listing in execute using clause.Michael Meskes2003-10-06
| | | | | - Fixed typo in ecpg for Informix dec_t type. - Fixed precision handling in Informix compat funxtions.
* Format help message internally consistent.Peter Eisentraut2003-10-04
|
* - Added Dave patch for Informix handling of numeric/int conversion.Michael Meskes2003-09-09
| | | | | - Changed all new datatypes to lowercase. - Fixed rounding bug in numerical types.
* pgindent run.Bruce Momjian2003-08-04
|
* - Added some Informix error codes in Informix mode.Michael Meskes2003-08-01
| | | | - Added just another pgtypeslib function.
* Added just another compatibility level for Informix.Michael Meskes2003-06-26
|
* Implemented Informix special way to treat NULLs, removed warnings, synced.Michael Meskes2003-06-25
|
* - Enable FETCH without INTO.Michael Meskes2003-06-13
| | | | - Compatibility functions for INFORMIX handling of DECLARE statement.
* Sync and some minor cleanup/fixing work plus an EXEC SQL DESCRIBE prototype.Michael Meskes2003-05-30
|
* Allow input from stdin and output to stdout.Michael Meskes2003-05-27
|
* - Added more compatibility functions.Michael Meskes2003-05-14
| | | | | - Accept CPP defines for type definitions. - Do not parse system include files automatically for Informix mode
* Fixed order of include file search path.Michael Meskes2003-05-13
|