aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/ecpg.c
Commit message (Collapse)AuthorAge
...
* Fixed double definition of ecpg_compat_mode.Michael Meskes2003-05-02
|
* Added an option to force ecpg to also parse files includes via '#include' ↵Michael Meskes2003-05-01
| | | | and some more Informix stuff.
* Added some more informix compatibility functions.Michael Meskes2003-04-08
|
* Add Win32 path handling for / vs. \ and drive letters.Bruce Momjian2003-04-04
|
* More changes to pgtypeslib and set optimization to -O1.Michael Meskes2003-03-27
|
* Some bugfixes for numerical library.Michael Meskes2003-03-18
|
* Started working on a seperate pgtypes library. First test work. PLEASE test ↵Michael Meskes2003-03-16
| | | | compilation on iother systems.
* This patch fixes a bunch of spelling mistakes in comments throughout theTom Lane2003-03-10
| | | | | | PostgreSQL source code. Neil Conway
* - Synced parser and keyword file.Michael Meskes2003-02-14
| | | | - More work on Informix compatibility.
* - Applied error reporting patch by Matthew VanecekMichael Meskes2003-02-13
| | | | - Started with an Informix compatibility option.
* Improve formatting of --help output.Peter Eisentraut2002-10-18
|
* pgindent run.Bruce Momjian2002-09-04
|
* - Synced yet again.Michael Meskes2002-04-28
| | | | - Fixed a typo in a comment printed by ecpg.
* Fix minor syntax error.Tom Lane2002-03-21
|
* Added typedef patches and a new option '-c' to automatically create C ↵Michael Meskes2002-03-21
| | | | typedefs from SQL ones.
* Include sqlca.h automatically.Michael Meskes2002-01-10
|
* The result of getopt() should be compared to -1, not EOF, perTom Lane2002-01-10
| | | | pgsql-hackers discussion of this date.
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-28
| | | | spacing. Also adds space for one-line comments.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-25
| | | | tests pass.
* - Synced preproc.y with gram.y.Michael Meskes2001-09-19
| | | | | | - Synced pgc.l with scan.l. - Synced keyword.c. - Include the remaining patches by Christof Petig <christof.petig@wtal.de>.
* Avoid #ifdef inside printf() ... that loses on platforms where printf()Tom Lane2001-08-28
| | | | is a macro.
* Add ecpg --help and --version. Renumber the exit status codes, which werePeter Eisentraut2001-08-24
| | | | documented wrong.
* pgindent run. Make it all clean.Bruce Momjian2001-03-22
|
* Remove HAVE_OPTARG per discussion in hackers list.Tatsuo Ishii2001-03-01
|
* Massive commits for SunOS4 port.Tatsuo Ishii2001-02-27
|
* Restructure the key include files per recent pghackers discussion: thereTom Lane2001-02-10
| | | | | | | | | | | 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.
* Third try. Sorry, I had a wrong path in my copy statement.Michael Meskes2000-11-07
|
* Remove NT-specific file open defines by defining our own open macros forBruce Momjian2000-06-02
| | | | "rb" and "wb".
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-12
|
* *** empty log message ***Michael Meskes2000-03-09
|
* *** empty log message ***Michael Meskes2000-03-07
|
* *** empty log message ***Michael Meskes2000-02-17
|
* *** empty log message ***Michael Meskes2000-01-27
|
* *** empty log message ***Michael Meskes2000-01-18
|
* Put back erroneously-removed definition of 'defines' variable.Tom Lane1999-12-26
|
* *** empty log message ***Michael Meskes1999-12-23
|
* The first fix is to allow an input file with a relative path and withoutBruce Momjian1999-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a ".pgc " extension. The second patch fixes a coredump when there is more than one input file (in that case, cur and types were not set to NULL before processing the second f ile) The patch below modifies the accepted grammar of ecpg to accept FETCH [direction] [amount] cursor name i.e. the IN|FROM clause becomes optional (as in Oracle and Informix). This removes the incompatibility mentioned in section "Porting From Other RDBMS Packages" p169, PostgreSQL Programmer's Guide. The grammar is modified in such a way as to avoid shift/reduce conflicts. It does not accept the statement "EXEC SQL FETCH;" anymore, as the old grammar did (this seems to be a bug of the old grammar anyway). This patch cleans up the handling of space characters in the scanner; some patte rns require \n to be in {space}, some do not. A second fix is the handling of cpp continuati on lines; the old pattern did not match these. The parser is patched to fix an off-by-one error in the #line directives. The pa rser is also enhanced to report the correct location of errors in declarations in the "E XEC SQL DECLARE SECTION". Finally, some right recursions in the parser were replaced by left-recursions. This patch adds preprocessor directives to ecpg; in particular EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF and EXEC SQL ENDIF "EXEC SQL IFDEF" is used with defines made with "EXEC SQL DEFINE" and defines, specified on the command line with -D. Defines, specified on the command line are persistent across multiple input files. Defines can be nested up to a maximum level of 128 (see patch). There is a fair amount of error checking to make sure directives are matched properly. I need preprocessor directives for porting code, that is written for an Informix database, to a PostgreSQL database, while maintaining compatibility with the original code. I decided not to extend the already large ecpg grammar. Everything is done in the scanner by adding some states, e.g. to skip all input except newlines and directives. The preprocessor commands are compatible with Informix. Oracle uses a cpp replacement. Rene Hogendoorn
* *** empty log message ***Michael Meskes1999-12-08
|
* Re-add getopt.h check, remove NT-specific tests for it.Bruce Momjian1999-07-19
|
* Remove getopt configure check.Bruce Momjian1999-07-19
|
* Update ecpg compile.Bruce Momjian1999-07-18
|
* Add getopt test.Bruce Momjian1999-07-18
|
* Update configure include checks.Bruce Momjian1999-07-18
|
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-17
|
* pgindent run over code.Bruce Momjian1999-05-25
|
* *** empty log message ***Michael Meskes1999-04-14
|
* From: Michael Meskes <Michael_Meskes@topmail.de>Marc G. Fournier1999-02-23
| | | | | | | | | | | | | | | | | + + Son Feb 21 14:10:47 CET 1999 + + - Fixed variable detection in libecpg. + + Mon Feb 22 19:47:45 CET 1999 + + - Added 'at <db_connection>' option to all commands it is apllicable + to. Due to changing the API of some libecpg functions this + requires me to increase the major version number. + - Synced pgc.l with scan.l. + - Added support for unions. + - Set library version to 3.0.0 + - Set ecpg version to 3.0.0
* From: Michael Meskes <Michael_Meskes@topmail.de>Marc G. Fournier1999-02-20
| | | | See Changes file...
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-17
|
* From: Michael Meskes <Michael.Meskes@usa.net>Marc G. Fournier1998-12-22
| | | | | | | | | | | | | + +Wed Dec 9 11:24:54 MEZ 1998 + + - Synced preproc.y with gram.y and the keywords.c files to add CASE + statement. + +Tue Dec 22 14:16:11 CET 1998 + + - Synced preproc.y with gram.y for locking statements. + - Set version to 2.4.5