| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace leftover instances of _() by ecpg_gettext(), the latter being the
correct way to refer to the library's message catalog, instead of the one of
the program using the library.
Drop NLS support for ecpg_log(), which is a debugging instrument similar to
elog() in the backend.
We cannot support NLS in the ecpg compatlib, because that requires
ecpg_gettext, which is in ecpglib, which is not a dependency of compatlib. It
doesn't seem worthwhile to worry about this, since the only translatable
string is "out of memory", and gettext probably won't be able to do much
without memory either.
Adjust messages to project style.
|
|
|
|
| |
Author: Euler Taveira de Oliveira <euler@timbira.com>
|
|
|
|
|
|
|
|
|
| |
to explicitly cast the output back to char before comparing it to a char
value, else we get the wrong result for high-bit-set characters. Found by
Rolf Jentsch. Also, fix several places where <ctype.h> functions were being
called without casting the argument to unsigned char; this is likewise
unportable, but we keep making that mistake :-(. These found by buildfarm
member salamander, which I will desperately miss if it ever goes belly-up.
|
|
|
|
| |
- Free all memory in auto-prepare mode.
|
| |
|
|
|
|
| |
aliasing in there.
|
| |
|
|
|
|
| |
Created export list for ecpglib.
|
|
|
|
| |
descriptor handling
|
|
|
|
| |
prepare thread-safe.
|
| |
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
| |
win32 threads.
- Fixed regression tests to run threading tests.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Use initializer string length as size for character strings.
Added ecpg_config.h file that is created via configure.
|
|
|
|
| |
Fixed some regression test problems.
|
| |
|
|
|
|
| |
Also fixed a new Coverity report.
|
| |
|
|
|
|
|
| |
Implemented EXEC SQL UNDEF.
Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de>.
|
| |
|
| |
|
|
|
|
|
| |
- SHOW statement puts result into a variable
- COPY TO STDOUT works
|
|
|
|
|
| |
have no other gods before c.h'. Also remove some demonstrably redundant
#include lines, mostly of <errno.h> which was added to c.h years ago.
|
| |
|
|
|
|
| |
<joe@mcknight.de>.
|
| |
|
|
|
|
| |
<kleptog@svana.org>.
|
|
|
|
|
|
| |
<joe@mcknight.de>
Added missing error handling in a few functions in ecpglib
|
|
|
|
|
|
|
|
|
| |
'off'. This allows pg_dump output with standard_conforming_strings =
'on' to generate proper strings that can be loaded into other databases
without the backslash doubling we typically do. I have added the
dumping of the standard_conforming_strings value to pg_dump.
I also added standard backslash handling for plpgsql.
|
| |
|
|
|
|
|
|
|
|
| |
Qingqing Zhou <zhouqq@cs.toronto.edu>.
- Replaced all strdup() calls by ECPGstrdup().
- Set ecpg library version to 5.2.
- Set ecpg version to 4.2.1.
|
| |
|
|
|
|
|
|
| |
wrong. __AMD64__ is not defined, __amd64__ is.
Christof Petig
|
|
|
|
| |
Improve code clarity by using macros for E'' processing.
|
|
|
|
| |
- Added patch by Gavin Scott <gavin@planetacetech.com> for Intel 64bit hardware.
|
|
|
|
| |
bug on powerpc and amd64.
|
| |
|
|
|
|
|
| |
- Added special handling of descriptor header information.
- Some code cleanup.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
- Synced parser again.
- Synced lexer.
|
|
|
|
|
|
| |
- Fixed prototype for ECPGprepared_statement to not moan about "const char"
- Fixed parsing of nested structures.
- Added option to parse header files.
|
|
|
|
|
|
|
|
| |
pointer type when it is not necessary to do so.
For future reference, casting NULL to a pointer type is only necessary
when (a) invoking a function AND either (b) the function has no prototype
OR (c) the function is a varargs function.
|