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