Michael Meskes
3f9aace723
Added some more coverity report patches send in by Martijn van Oosterhout <kleptog@svana.org>.
2006-06-21 11:38:07 +00:00
Michael Meskes
a829da152c
Added fixed from the coverity report send in by Joachim Wieland <joe@mcknight.de>
...
Added missing error handling in a few functions in ecpglib
2006-06-21 10:24:41 +00:00
Michael Meskes
aaf125f8df
Do not use already free'ed errmsg, bug found by Joachim Wieland
...
<joachim.wieland@credativ.de>
2006-06-19 09:19:49 +00:00
Michael Meskes
150131d9d9
- Made several variables "const char *" instead of "char *" as proposed by 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.
2005-11-30 12:49:49 +00:00
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
Michael Meskes
9dc2e6deaf
Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in thread support.
2005-04-14 10:08:57 +00:00
Michael Meskes
1fbdb6bc9f
Fixed segfault in connect when specifying no database name.
2004-12-30 09:36:37 +00:00
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
Bruce Momjian
6cc4175b25
Attached is a patch that takes care of the PATHSEP issue. I made a more
...
extensive change then what was suggested. I found the file path.c that
contained a lot of "Unix/Windows" agnostic functions so I added a function
there instead and removed the PATHSEP declaration in exec.c altogether. All
to keep things from scattering all over the code.
I also took the liberty of changing the name of the functions
"first_path_sep" and "last_path_sep". Where I come from (and I'm apparently
not alone given the former macro name PATHSEP), they should be called
"first_dir_sep" and "last_dir_sep". The new function I introduced, that
actually finds path separators, is now the "first_path_sep". The patch
contains changes on all affected places of course.
I also changed the documentation on dynamic_library_path to reflect the
chagnes.
Thomas Hallgren
2004-06-10 22:26:24 +00:00
Bruce Momjian
8526f537cc
The "cvs add" of test_thread_implicit.pgc seems to have been missed,
...
i've attached this again.
Additionally I include a small patch to remove mutex locking when a
DEFAULT/NULL connection is being retrieved. This is consistent with
libpq.
Lee Kindness
2004-03-15 16:27:43 +00:00
Michael Meskes
757fb0e5a9
- Fixed Informix compat math functions to cope with the situations
...
where one argument takes the result.
- Applied thread patches by Lee Kindness
2004-03-14 12:16:30 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
Peter Eisentraut
8878cc4cd7
Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
...
Fixes compilation failure with --enable-thread-safety --with-perl and Perl
5.6.1.
2003-11-24 13:16:22 +00:00
Peter Eisentraut
c3664c0c00
Add macros for error result fields to libpq.
2003-08-24 18:36:38 +00:00
Peter Eisentraut
e39bc695d6
Be a little bit more careful about using sqlstate, in case libpq returned
...
NULL for it.
2003-08-08 13:16:20 +00:00
Bruce Momjian
089003fb46
pgindent run.
2003-08-04 00:43:34 +00:00
Peter Eisentraut
4f7df90db0
Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,
...
rather than parsing the message. Add some documentation about embedded
SQL.
2003-08-01 13:53:36 +00:00
Michael Meskes
7a9c074cba
- Added some Informix error codes in Informix mode.
...
- Added just another pgtypeslib function.
2003-08-01 08:21:04 +00:00
Michael Meskes
42df5e311f
Started to create different error codes for different backend messages.
2003-07-15 12:38:38 +00:00
Michael Meskes
fee6fd7f65
Fix segfault in connect in informix mode.
2003-07-08 07:13:48 +00:00
Michael Meskes
2bdd2e5dcf
Use ISO dates in pgtypeslib by default.
...
Applied patch by Philip Yarra to fix some thread issues.
Added a new data type "decimal" which is mostly the same as our
"numeric" but uses a fixed length array to store the digits. This is
for compatibility with Informix and maybe others.
2003-07-01 12:40:52 +00:00
Michael Meskes
4505653e54
Added just another compatibility level for Informix.
2003-06-26 11:37:05 +00:00
Michael Meskes
fd3ca524eb
Implemented Informix special way to treat NULLs, removed warnings, synced.
2003-06-25 10:44:21 +00:00
Bruce Momjian
4f70680177
Make ecpg thread safe.
...
Lee Kindness
2003-06-15 04:07:58 +00:00
Michael Meskes
26188e8c17
- Enable FETCH without INTO.
...
- Compatibility functions for INFORMIX handling of DECLARE statement.
2003-06-13 10:50:58 +00:00
Michael Meskes
dc554458ad
Reversed my incorrect fix.
2003-05-20 11:05:27 +00:00
Michael Meskes
f7d836212a
Fixed double definition of ecpg_compat_mode.
2003-05-02 14:43:25 +00:00
Michael Meskes
a50f285d8d
Added some more informix compatibility functions.
2003-04-08 12:34:25 +00:00
Bruce Momjian
d46e643822
Add Win32 path handling for / vs. \ and drive letters.
2003-04-04 20:42:13 +00:00
Michael Meskes
a4f25b6a9c
Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.
2003-03-16 10:42:54 +00:00