Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Check for out of memory when allocating sqlca. | Michael Meskes | 2015-06-15 |
| | | | | Patch by Michael Paquier | ||
* | Fix memory leak in ecpglib's connect function. | Michael Meskes | 2015-06-15 |
| | | | | Patch by Michael Paquier | ||
* | Do not use an empty hostname. | Michael Meskes | 2014-01-01 |
| | | | | | When trying to connect to a given database libecpg should not try using an empty hostname if no hostname was given. | ||
* | Run pgindent on 9.2 source tree in preparation for first 9.3 | Bruce Momjian | 2012-06-10 |
| | | | | commit-fest. | ||
* | ecpg: Fix rare memory leaks | Peter Eisentraut | 2012-03-08 |
| | | | | found by Coverity | ||
* | In ecpglib rewrote code that used strtok_r to not use library functions | Michael Meskes | 2012-02-19 |
| | | | | | anymore. This way we don't have to worry which compiler on which OS offers which version of strtok. | ||
* | gcc on Windows does not know about strtok_s. | Michael Meskes | 2012-02-18 |
| | |||
* | Windows doesn't have strtok_r, so let's use strtok_s instead. | Michael Meskes | 2012-02-18 |
| | |||
* | Make sure all connection paramters are used in call to PQconnectdbParams. | Michael Meskes | 2012-02-18 |
| | |||
* | Allow the connection keyword array to carry all seven items in ecpglib. | Michael Meskes | 2012-02-06 |
| | |||
* | Applied Peter's patch to PQconnectdbParams in ecpglib instead of the old | Michael Meskes | 2012-02-04 |
| | | | | PQconectdb. | ||
* | Ecpglib stores variables that are used in DECLARE statements in a global list. | Michael Meskes | 2012-01-05 |
| | | | | | | This list is now freed when the last connection has been closed. Closes: #6366 | ||
* | pgindent run before PG 9.1 beta 1. | Bruce Momjian | 2011-04-10 |
| | |||
* | Cleanup various comparisons with the constant "true". | Robert Haas | 2010-11-14 |
| | | | | Itagaki Takahiro, with slight modifications. | ||
* | Some cleanup in ecpg code: | Michael Meskes | 2010-11-02 |
| | | | | | | Use bool as type for booleans instead of int. Do not implicitely cast size_t to int. Make the compiler stop complaining about unused variables by adding an empty statement. | ||
* | Applied patch by Itagaki Takahiro to fix incorrect status calculation in | Michael Meskes | 2010-10-14 |
| | | | | | | ecpglib. Instead of parsing the statement just as ask the database server. This patch removes the whole client side track keeping of the current transaction status. | ||
* | Remove cvs keywords from all files. | Magnus Hagander | 2010-09-20 |
| | |||
* | pgindent run for 9.0, second run | Bruce Momjian | 2010-07-06 |
| | |||
* | ECPG connect routine only checked for NULL to find empty parameters, but ↵ | Michael Meskes | 2010-05-07 |
| | | | | user and password can also be "". | ||
* | 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list | Bruce Momjian | 2009-06-11 |
| | | | | provided by Andrew. | ||
* | NLS cleanup in ecpglib | Peter Eisentraut | 2009-01-15 |
| | | | | | | | | | | | | | | | | | Replace leftover instances of _() by ecpg_gettext(), the latter being the correct way to refer to the library's message catalog, instead of the one of the program using the library. Drop NLS support for ecpg_log(), which is a debugging instrument similar to elog() in the backend. We cannot support NLS in the ecpg compatlib, because that requires ecpg_gettext, which is in ecpglib, which is not a dependency of compatlib. It doesn't seem worthwhile to worry about this, since the only translatable string is "out of memory", and gettext probably won't be able to do much without memory either. Adjust messages to project style. | ||
* | Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to | Michael Meskes | 2008-12-17 |
| | | | | fix segfault on non-glibc systems. | ||
* | Add localization support to ecpg. | Peter Eisentraut | 2008-05-16 |
| | | | | Author: Euler Taveira de Oliveira <euler@timbira.com> | ||
* | - Moved from PQsetdbLogin to PQconnectDB. | Michael Meskes | 2008-03-27 |
| | | | | | - Correctly parse connect options. - Changed regression tests accordingly. | ||
* | Added ECPGget_PGconn() function to ecpglib, courtesy of Mike Aubury. | Michael Meskes | 2008-03-20 |
| | | | | Removed one include file from connect-test1. | ||
* | pgindent run for 8.3. | Bruce Momjian | 2007-11-15 |
| | |||
* | Cleaned up ecpglib and renamed functions that do not need to be exported. | Michael Meskes | 2007-10-03 |
| | | | | Created export list for ecpglib. | ||
* | Hopefully fixed some stuff that causes Windows builds to fail. | Michael Meskes | 2007-10-03 |
| | |||
* | ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe | Michael Meskes | 2007-10-02 |
| | | | | descriptor handling | ||
* | Applied another patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> | Michael Meskes | 2007-09-30 |
| | | | | to get memory allocation thread-safe. He also did some cleaning up. | ||
* | Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get ↵ | Michael Meskes | 2007-09-26 |
| | | | | prepare thread-safe. | ||
* | - Finished major rewrite to use new protocol version | Michael Meskes | 2007-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 native | Michael Meskes | 2007-03-29 |
| | | | | | win32 threads. - Fixed regression tests to run threading tests. | ||
* | - Changed some whitespacing in connect statement. | Michael Meskes | 2007-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 handling | Michael Meskes | 2007-01-12 |
| | | | | Added patch by Joachim to work around OpenBSD bug in regression suite. | ||
* | Applied Joachim's patch for a --regression option. | Michael Meskes | 2007-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 connect | Michael Meskes | 2006-11-08 |
| | |||
* | pgindent run for 8.2. | Bruce Momjian | 2006-10-04 |
| | |||
* | Fixed parser and library to allow empty database names. | Michael Meskes | 2006-08-29 |
| | | | | | Streamlined connection name parsing. Added Joachim's patch to shorten paths before diffing. | ||
* | - Enabled single-quoted connection targets. | Michael Meskes | 2006-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 Meskes | 2006-08-13 |
| | | | | | Merged dyntest.pgc and dyntest2.pgc. Hopefully fixed the last Coverity reports (finally) | ||
* | ynced parser and keyword list. | Michael Meskes | 2006-08-02 |
| | | | | | Implemented EXEC SQL UNDEF. Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de>. | ||
* | And one more: | Michael Meskes | 2006-07-28 |
| | | | | Connection identifier has to be unique | ||
* | Added some more coverity report patches send in by Martijn van Oosterhout ↵ | Michael Meskes | 2006-06-21 |
| | | | | <kleptog@svana.org>. | ||
* | Added fixed from the coverity report send in by Joachim Wieland ↵ | Michael Meskes | 2006-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 Wieland | Michael Meskes | 2006-06-19 |
| | | | | <joachim.wieland@credativ.de> | ||
* | - Made several variables "const char *" instead of "char *" as proposed by ↵ | Michael Meskes | 2005-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 Momjian | 2005-10-15 |
| | |||
* | Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in ↵ | Michael Meskes | 2005-04-14 |
| | | | | thread support. | ||
* | Fixed segfault in connect when specifying no database name. | Michael Meskes | 2004-12-30 |
| |