aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/extern.h
Commit message (Collapse)AuthorAge
* Use a macro variable PG_PRINTF_ATTRIBUTE for the style used for checking ↵Andrew Dunstan2011-04-28
| | | | | | | | | printf type functions. The style is set to "printf" for backwards compatibility everywhere except on Windows, where it is set to "gnu_printf", which eliminates hundreds of false error messages from modern versions of gcc arising from %m and %ll{d,u} formats.
* pgindent run before PG 9.1 beta 1.Bruce Momjian2011-04-10
|
* There is no need to have to identical functions in ecpg thus removing one of ↵Michael Meskes2011-01-09
| | | | them.
* 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
|
* Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to add out-of-scope ↵Michael Meskes2010-01-26
| | | | cursor support to native mode.
* Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to add sqlda support toMichael Meskes2010-01-05
| | | | ecpg in both native and compatiblity 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.
* Remove outside-the-scanner references to "yyleng".Tom Lane2009-09-08
| | | | | | | | | | | | It seems the flex developers have decided to change yyleng from int to size_t. This has already happened in the latest release of OS X, and will start happening elsewhere once the next release of flex appears. Rather than trying to divine how it's declared in any particular build, let's just remove the one existing not-very-necessary external usage. Back-patch to all supported branches; not so much because users in the field are likely to care about building old branches with cutting-edge flex, as to keep OSX-based buildfarm members from having problems with old branches.
* Tweak the core scanner so that it can be used by plpgsql too.Tom Lane2009-07-14
| | | | | | | | | | | | | | Changes: Pass in the keyword lookup array instead of having it be hardwired. (This incidentally allows elimination of some duplicate coding in ecpg.) Re-order the token declarations in gram.y so that non-keyword tokens have numbers that won't change when keywords are added or removed. Add ".." and ":=" to the set of tokens recognized by scan.l. (Since these combinations are nowhere legal in core SQL, this does not change anything except the precise wording of the error you get when you write this.)
* 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef listBruce Momjian2009-06-11
| | | | provided by Andrew.
* Clean up ecpg's use of mmerror(): const-ify the format argument, add anTom Lane2009-06-03
| | | | | | __attribute__() marker so that gcc can validate the format string against the actual arguments, get rid of overcomplicated and unsafe usage in base_yyerror().
* Synced parser.Michael Meskes2008-05-20
| | | | | Made ecpg parser use backend provided keyword list. Changed whenever test so exit value is 0.
* pgindent run for 8.3.Bruce Momjian2007-11-15
|
* More cleaning up and removed some duplicates.Michael Meskes2007-08-22
|
* Hopefully fixed missing CHAR_BIT symbolMichael Meskes2007-08-14
|
* - 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.
* 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.
* Add CVS tag lines to files that were lacking them.Bruce Momjian2006-03-11
|
* Pgindent run for 8.0.Bruce Momjian2004-08-29
|
* 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.
* - 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.
* pgindent run.Bruce Momjian2003-08-04
|
* 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.
* Changed variable parsing so struct[n].attr works.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
* Added an option to force ecpg to also parse files includes via '#include' ↵Michael Meskes2003-05-01
| | | | and some more Informix stuff.
* - Applied error reporting patch by Matthew VanecekMichael Meskes2003-02-13
| | | | - Started with an Informix compatibility option.
* Add guards against double inclusion.Peter Eisentraut2002-10-21
|
* pgindent run.Bruce Momjian2002-09-04
|
* - Fixed some parser bugs.Michael Meskes2002-05-20
| | | | | - Removed some simple rules to work arounf bison limit for now. - Update c_keywords.c to reflect changes in keywords.c.
* Added typedef patches and a new option '-c' to automatically create C ↵Michael Meskes2002-03-21
| | | | typedefs from SQL ones.
* - Fixed variable handling for struct members.Michael Meskes2002-01-13
| | | | | - Removed check for array input. An attribut might store the complete array.
* Fixed several bugs concerning indicators and added error messages instead of ↵Michael Meskes2001-12-09
| | | | segfaults.
* Committed again to add the missing files/patches.Michael Meskes2001-11-16
|
* 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>.
* 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
|
* 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 bogus extern for 'descriptors' variable, which is in fact static.Tom Lane2000-04-14
| | | | Some compilers object to seeing extern and later static ...
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-12
|