Michael Meskes
0c2eb200d6
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe
...
descriptor handling
2007-10-02 09:50:00 +00:00
Michael Meskes
60e83cec57
Applied another patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
...
to get memory allocation thread-safe. He also did some cleaning up.
2007-09-30 11:38:48 +00:00
Michael Meskes
635a0b9a86
- Finished major rewrite to use new protocol version
...
- 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
2007-08-14 10:01:54 +00:00
Michael Meskes
ddcb5bbf76
- Added patch by Magnus Hagander <magnus@hagander.net> to use native
...
win32 threads.
- Fixed regression tests to run threading tests.
2007-03-29 12:02:24 +00:00
Michael Meskes
b8f611cf4b
Simplified regression handling
...
Added patch by Joachim to work around OpenBSD bug in regression suite.
2007-01-12 10:00:14 +00:00
Michael Meskes
5b88b85cad
Applied Joachim's patch for a --regression option.
...
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.
2007-01-11 15:47:34 +00:00
Bruce Momjian
f99a569a2e
pgindent run for 8.2.
2006-10-04 00:30:14 +00:00
Michael Meskes
b30da7ba5f
Added lots of SoC stuff made by Joachim.
...
Fixed broken newline on Windows.
Fixed a nasty buffer underrun that only occured when using Informix
no_indicator NULL setting on timestamps and intervals.
2006-08-15 06:40:20 +00:00
Michael Meskes
6e11202dbe
Made parser check for valid copy to/from stdin/stdout combinations.
...
Lots of small changes in regression test suite
2006-08-08 11:51:25 +00:00
Michael Meskes
4cd72b53b9
Added missing ECPGget_sqlca() call
2006-07-31 13:26:46 +00:00
Michael Meskes
c1c9b7c0c0
First small patches needed for regression tests
2006-07-31 10:15:31 +00:00
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
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
Michael Meskes
c959d370bf
Fixed transaction command handling to not ignore savepoints and to correctly check for errors.
2005-09-12 11:57:53 +00:00
Bruce Momjian
5c267325ec
Add 'int' cast for getpid() because some Solaris releases return long
...
for getpid().
2004-10-14 20:23:46 +00:00
Bruce Momjian
67608a393b
Make getpid() use %d consistently for printing.
2004-10-09 02:46:42 +00:00
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
Michael Meskes
03ad5da8f8
- Only use typedefs inside their scope.
...
- 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.
2004-06-27 12:28:42 +00:00
Bruce Momjian
48f3ddf991
Fix ecpg_sqlca_key_destructor to return void.
2004-03-14 14:47:33 +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
Tom Lane
7eb67fc98b
Cope with platforms that offer LONGLONG_MIN in place of the C99-spec
...
LLONG_MIN. One example is AIX, per report from Andreas.
2003-10-21 15:34:34 +00:00
Michael Meskes
fcdf0e22fc
- Added Dave patch for Informix handling of numeric/int conversion.
...
- Changed all new datatypes to lowercase.
- Fixed rounding bug in numerical types.
2003-09-09 10:46:42 +00:00
Peter Eisentraut
fbf1fd2650
Fix null checking of type decimal datums without indicator in Informix
...
mode.
from Dave Cramer
2003-08-08 13:17:58 +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
7d32551a81
Fixed some bugs in Informix compat functions.
2003-07-17 07:54:29 +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
Bruce Momjian
b143210639
Wrap LONG_LONG_MIN redfinition around HAVE_LONG_LONG_INT_64.
2003-06-26 01:45:04 +00:00
Bruce Momjian
095a0c83d5
Fix compile problem for missing LONG_LONG_MIN on BSD/OS.
2003-06-26 01:33:23 +00:00
Michael Meskes
54fae9c20a
Some systems need another header file included.
2003-06-25 11:51:18 +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
a64927f995
Ecpg cleanups for prototypes.
2003-06-15 04:56:45 +00:00
Bruce Momjian
4f70680177
Make ecpg thread safe.
...
Lee Kindness
2003-06-15 04:07:58 +00:00
Michael Meskes
b8f7d3d0b6
Do not free prepares statements at the end of a transaction.
2003-03-21 15:31:04 +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