| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
them.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
cursor support to native mode.
|
|
|
|
| |
ecpg in both native and compatiblity mode.
|
|
|
|
| |
Boszormenyi Zoltan, with only a minor tweak or two from me.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
provided by Andrew.
|
|
|
|
|
|
| |
__attribute__() marker so that gcc can validate the format string against
the actual arguments, get rid of overcomplicated and unsafe usage in
base_yyerror().
|
|
|
|
|
| |
Made ecpg parser use backend provided keyword list.
Changed whenever test so exit value is 0.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Made sure ecpg deletes output file in case of an error.
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
- Fixed bug that reversed string length in typedefs.
- Added portability file to pgtypeslib.
|
|
|
|
|
| |
variable listing for output variables in cursor definitions
- Fixed incorrect if call in long=>numeric conversion.
|
| |
|
| |
|
| |
|
|
|
|
| |
- Compatibility functions for INFORMIX handling of DECLARE statement.
|
| |
|
|
|
|
| |
whole definition everytime you declare a variable anymore.
|
|
|
|
|
| |
- Accept CPP defines for type definitions.
- Do not parse system include files automatically for Informix mode
|
|
|
|
| |
and some more Informix stuff.
|
|
|
|
| |
- Started with an Informix compatibility option.
|
| |
|
| |
|
|
|
|
|
| |
- Removed some simple rules to work arounf bison limit for now.
- Update c_keywords.c to reflect changes in keywords.c.
|
|
|
|
| |
typedefs from SQL ones.
|
|
|
|
|
| |
- Removed check for array input. An attribut might store the
complete array.
|
|
|
|
| |
segfaults.
|
| |
|
|
|
|
| |
tests pass.
|
|
|
|
|
|
| |
- Synced pgc.l with scan.l.
- Synced keyword.c.
- Include the remaining patches by Christof Petig <christof.petig@wtal.de>.
|
|
|
|
| |
documented wrong.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Some compilers object to seeing extern and later static ...
|
| |
|