| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Back in the day this did not work, but modern compilers should handle it themselves.
|
|
|
|
| |
Patch by Michael Paquier
|
| |
|
|
|
|
|
| |
If a pointer is guaranteed to carry information there is no need to check
for NULL again. Patch by Michael Paquier.
|
|
|
|
|
|
| |
When ecpg was rewritten to the new protocol version not all variable types
were corrected. This patch rewrites the code for these types to fix that. It
also fixes the documentation to correctly tell the status of array handling.
|
|
|
|
|
| |
This includes removing tabs after periods in C comments, which was
applied to back branches, so this change should not effect backpatching.
|
|
|
|
|
|
|
|
|
|
| |
When array of char * was used as target for a FETCH statement returning more
than one row, it tried to store all the result in the first element. Instead it
should dump array of char pointers with right offset, use the address instead
of the value of the C variable while reading the array and treat such variable
as char **, instead of char * for pointer arithmetic.
Patch by Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
|
|
|
|
| |
Patch by Boszormenyi Zoltan <zb@cybertec.at>
|
|
|
|
|
|
| |
Instead of continuing if the next character is not an array boundary get_data()
used to continue only on finding a boundary so it was not able to read any
element after the first.
|
|
|
|
|
| |
Always compare the return value to 0, don't use cute tricks like
if (!strcmp(...)).
|
| |
|
|
|
|
| |
'AC_TYPE_LONG_LONG_INT' macro call.
|
|
|
|
| |
used to cover the equally long "long long" type. This patch closes bug #5464.
|
|
|
|
|
|
|
|
|
|
| |
the fact that NetBSD/mips is currently broken, as per buildfarm member pika.
Also add regression tests to ensure that get_float8_nan and get_float4_nan
are exercised even on platforms where they are not needed by
float8in/float4in.
Zoltán Böszörményi and Tom Lane
|
| |
|
|
|
|
| |
fixing yet another incorrect log output.
|
|
|
|
|
|
| |
making it OS independant.
Patch done by Zoltán Böszörményi.
|
|
|
|
|
|
|
| |
This is more in keeping with modern practice, and is a first step towards
porting to Win64 (which has sizeof(pointer) > sizeof(long)).
Tsutomu Yamada, Magnus Hagander, Tom Lane
|
|
|
|
| |
string too.
|
|
|
|
| |
decimal handling.
|
| |
|
|
|
|
| |
based on a patch send in by Böszörményi Zoltán <zb@cybertec.at>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Created export list for ecpglib.
|
| |
|
|
|
|
| |
Added patch by Joachim to work around OpenBSD bug in regression suite.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Lots of small changes in regression test suite
|
|
|
|
|
|
| |
<joe@mcknight.de>
Added missing error handling in a few functions in ecpglib
|
|
|
|
| |
Synced parser.
|
|
|
|
| |
Also added a test case for a binary cursor.
|
| |
|
|
|
|
|
| |
- Remove stary character from string quoting.
- Fixed check to report missing varchar pointer implementation.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
|
|
|
| |
- Added protecting defines to include files.
|
| |
|
|
|
|
|
|
| |
- Synced parser.
- Allowed C variables to carry the name of prepared statements.
- Added Informix handling of datatype converion errors.
|
|
|
|
|
| |
- Changed all new datatypes to lowercase.
- Fixed rounding bug in numerical types.
|
| |
|