Michael Meskes
f9e083fd30
Added ECPGget_PGconn() function to ecpglib, courtesy of Mike Aubury.
...
Removed one include file from connect-test1.
18 years ago
Bruce Momjian
fdf5a5efb7
pgindent run for 8.3.
18 years ago
Michael Meskes
7793c6ecca
Cleaned up ecpglib and renamed functions that do not need to be exported.
...
Created export list for ecpglib.
18 years ago
Michael Meskes
c4a6c2f871
Hopefully fixed some stuff that causes Windows builds to fail.
18 years ago
Michael Meskes
0c2eb200d6
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe
...
descriptor handling
18 years ago
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.
18 years ago
Michael Meskes
d49b20fbe6
Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get prepare thread-safe.
18 years ago
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
18 years ago
Michael Meskes
ddcb5bbf76
- Added patch by Magnus Hagander <magnus@hagander.net> to use native
...
win32 threads.
- Fixed regression tests to run threading tests.
19 years ago
Michael Meskes
d3e131e062
- Changed some whitespacing in connect statement.
...
- 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.
19 years ago
Michael Meskes
b8f611cf4b
Simplified regression handling
...
Added patch by Joachim to work around OpenBSD bug in regression suite.
19 years ago
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.
19 years ago
Michael Meskes
0c96e42797
Applied patch by Peter Harris to free auto_mem structure on connect
19 years ago
Bruce Momjian
f99a569a2e
pgindent run for 8.2.
19 years ago
Michael Meskes
b1710339ba
Fixed parser and library to allow empty database names.
...
Streamlined connection name parsing.
Added Joachim's patch to shorten paths before diffing.
19 years ago
Michael Meskes
99a5619e7b
- Enabled single-quoted connection targets.
...
- Fixed a memory leak/segfault in unsuccessful connection.
- Some changes to test files.
19 years ago
Michael Meskes
ab6aa40b64
Applied patch for VPATH builds by Alvaro Herrera <alvherre@commandprompt.com>
...
Merged dyntest.pgc and dyntest2.pgc.
Hopefully fixed the last Coverity reports (finally)
19 years ago
Michael Meskes
1fa6be6f69
ynced parser and keyword list.
...
Implemented EXEC SQL UNDEF.
Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de>.
19 years ago
Michael Meskes
9e76b4c7c5
And one more:
...
Connection identifier has to be unique
19 years ago
Michael Meskes
3f9aace723
Added some more coverity report patches send in by Martijn van Oosterhout <kleptog@svana.org>.
20 years ago
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
20 years ago
Michael Meskes
aaf125f8df
Do not use already free'ed errmsg, bug found by Joachim Wieland
...
<joachim.wieland@credativ.de>
20 years ago
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.
20 years ago
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
20 years ago
Michael Meskes
9dc2e6deaf
Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in thread support.
21 years ago
Michael Meskes
1fbdb6bc9f
Fixed segfault in connect when specifying no database name.
21 years ago
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
21 years ago
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
22 years ago
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
22 years ago
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
22 years ago
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
22 years ago
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.
22 years ago
Peter Eisentraut
c3664c0c00
Add macros for error result fields to libpq.
22 years ago
Peter Eisentraut
e39bc695d6
Be a little bit more careful about using sqlstate, in case libpq returned
...
NULL for it.
22 years ago
Bruce Momjian
089003fb46
pgindent run.
22 years ago
Peter Eisentraut
4f7df90db0
Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,
...
rather than parsing the message. Add some documentation about embedded
SQL.
22 years ago
Michael Meskes
7a9c074cba
- Added some Informix error codes in Informix mode.
...
- Added just another pgtypeslib function.
22 years ago
Michael Meskes
42df5e311f
Started to create different error codes for different backend messages.
23 years ago
Michael Meskes
fee6fd7f65
Fix segfault in connect in informix mode.
23 years ago
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.
23 years ago
Michael Meskes
4505653e54
Added just another compatibility level for Informix.
23 years ago
Michael Meskes
fd3ca524eb
Implemented Informix special way to treat NULLs, removed warnings, synced.
23 years ago
Bruce Momjian
4f70680177
Make ecpg thread safe.
...
Lee Kindness
23 years ago
Michael Meskes
26188e8c17
- Enable FETCH without INTO.
...
- Compatibility functions for INFORMIX handling of DECLARE statement.
23 years ago
Michael Meskes
dc554458ad
Reversed my incorrect fix.
23 years ago
Michael Meskes
f7d836212a
Fixed double definition of ecpg_compat_mode.
23 years ago
Michael Meskes
a50f285d8d
Added some more informix compatibility functions.
23 years ago
Bruce Momjian
d46e643822
Add Win32 path handling for / vs. \ and drive letters.
23 years ago
Michael Meskes
a4f25b6a9c
Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.
23 years ago
Michael Meskes
1a9b0613c1
- Applied error reporting patch by Matthew Vanecek
...
- Started with an Informix compatibility option.
23 years ago