summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/connect.c
AgeCommit message (Collapse)Author
2007-09-30Applied another patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>Michael Meskes
to get memory allocation thread-safe. He also did some cleaning up.
2007-09-26Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get ↵Michael Meskes
prepare thread-safe.
2007-08-14- Finished major rewrite to use new protocol versionMichael Meskes
- 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-03-29- Added patch by Magnus Hagander <magnus@hagander.net> to use nativeMichael Meskes
win32 threads. - Fixed regression tests to run threading tests.
2007-03-17- Changed some whitespacing in connect statement.Michael Meskes
- 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.
2007-01-12Simplified regression handlingMichael Meskes
Added patch by Joachim to work around OpenBSD bug in regression suite.
2007-01-11Applied Joachim's patch for a --regression option.Michael Meskes
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.
2006-11-08Applied patch by Peter Harris to free auto_mem structure on connectMichael Meskes
2006-10-04pgindent run for 8.2.Bruce Momjian
2006-08-29Fixed parser and library to allow empty database names.Michael Meskes
Streamlined connection name parsing. Added Joachim's patch to shorten paths before diffing.
2006-08-27- Enabled single-quoted connection targets.Michael Meskes
- Fixed a memory leak/segfault in unsuccessful connection. - Some changes to test files.
2006-08-13Applied patch for VPATH builds by Alvaro Herrera <alvherre@commandprompt.com>Michael Meskes
Merged dyntest.pgc and dyntest2.pgc. Hopefully fixed the last Coverity reports (finally)
2006-08-02ynced parser and keyword list.Michael Meskes
Implemented EXEC SQL UNDEF. Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de>.
2006-07-28And one more:Michael Meskes
Connection identifier has to be unique
2006-06-21Added some more coverity report patches send in by Martijn van Oosterhout ↵Michael Meskes
<kleptog@svana.org>.
2006-06-21Added fixed from the coverity report send in by Joachim Wieland ↵Michael Meskes
<joe@mcknight.de> Added missing error handling in a few functions in ecpglib
2006-06-19Do not use already free'ed errmsg, bug found by Joachim WielandMichael Meskes
<joachim.wieland@credativ.de>
2005-11-30- Made several variables "const char *" instead of "char *" as proposed by ↵Michael Meskes
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-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-04-14Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in ↵Michael Meskes
thread support.
2004-12-30Fixed segfault in connect when specifying no database name.Michael Meskes
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-06-10Attached is a patch that takes care of the PATHSEP issue. I made a moreBruce Momjian
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-03-15The "cvs add" of test_thread_implicit.pgc seems to have been missed,Bruce Momjian
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-14- Fixed Informix compat math functions to cope with the situationsMichael Meskes
where one argument takes the result. - Applied thread patches by Lee Kindness
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon
2003-11-24Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.Peter Eisentraut
Fixes compilation failure with --enable-thread-safety --with-perl and Perl 5.6.1.
2003-08-24Add macros for error result fields to libpq.Peter Eisentraut
2003-08-08Be a little bit more careful about using sqlstate, in case libpq returnedPeter Eisentraut
NULL for it.
2003-08-04pgindent run.Bruce Momjian
2003-08-01Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,Peter Eisentraut
rather than parsing the message. Add some documentation about embedded SQL.
2003-08-01- Added some Informix error codes in Informix mode.Michael Meskes
- Added just another pgtypeslib function.
2003-07-15Started to create different error codes for different backend messages.Michael Meskes
2003-07-08Fix segfault in connect in informix mode.Michael Meskes
2003-07-01Use ISO dates in pgtypeslib by default.Michael Meskes
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-06-26Added just another compatibility level for Informix.Michael Meskes
2003-06-25Implemented Informix special way to treat NULLs, removed warnings, synced.Michael Meskes
2003-06-15Make ecpg thread safe.Bruce Momjian
Lee Kindness
2003-06-13- Enable FETCH without INTO.Michael Meskes
- Compatibility functions for INFORMIX handling of DECLARE statement.
2003-05-20Reversed my incorrect fix.Michael Meskes
2003-05-02Fixed double definition of ecpg_compat_mode.Michael Meskes
2003-04-08Added some more informix compatibility functions.Michael Meskes
2003-04-04Add Win32 path handling for / vs. \ and drive letters.Bruce Momjian
2003-03-16Started working on a seperate pgtypes library. First test work. PLEASE test ↵Michael Meskes
compilation on iother systems.