summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
AgeCommit message (Collapse)Author
2004-02-10Repair missing inclusions of -lintl for shared libraries.Tom Lane
2004-01-28Fix typo.Tom Lane
2004-01-28Removed some debugging output.Michael Meskes
2004-01-28- Issue a warning if a cursor is declared but not opened.Michael Meskes
- Fixed prototype for ECPGprepared_statement to not moan about "const char" - Fixed parsing of nested structures. - Added option to parse header files.
2004-01-21Added WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE.Michael Meskes
2004-01-19Repair problem identified by Olivier Prenant: ALTER DATABASE SET search_pathTom Lane
should not be too eager to reject paths involving unknown schemas, since it can't really tell whether the schemas exist in the target database. (Also, when reading pg_dumpall output, it could be that the schemas don't exist yet, but eventually will.) ALTER USER SET has a similar issue. So, reduce the normal ERROR to a NOTICE when checking search_path values for these commands. Supporting this requires changing the API for GUC assign_hook functions, which causes the patch to touch a lot of places, but the changes are conceptually trivial.
2004-01-13Fix ecpg test program to properly access int* null indicator.Bruce Momjian
2004-01-07More janitorial work: remove the explicit casting of NULL literals to aNeil Conway
pointer type when it is not necessary to do so. For future reference, casting NULL to a pointer type is only necessary when (a) invoking a function AND either (b) the function has no prototype OR (c) the function is a varargs function.
2004-01-04Fixed bug in GRANT OPTION FOR parsing.Michael Meskes
2004-01-04Fix portability bugs: char values passed to <ctype.h> functions mustTom Lane
be cast to unsigned char. We have learned this the hard way before.
2003-12-29Added missing whitespaces to array argument parsing.Michael Meskes
2003-12-24Fixed segfault in parsing of EXEC SQL SELECT * FROM foo() AS TBL( c int, i int);Michael Meskes
2003-12-21Back out:Bruce Momjian
> Attached is a patch that addressed all the discussed issues > that did not break backward compatability, including the > ability to output ISO-8601 compliant intervals by setting > datestyle to iso8601basic.
2003-12-20In my mind there were two categories of open issuesBruce Momjian
a) ones that are 100% backward (such as the comment about outputting this format) and b) ones that aren't (such as deprecating the current postgresql shorthand of '1Y1M'::interval = 1 year 1 minute in favor of the ISO-8601 'P1Y1M'::interval = 1 year 1 month. Attached is a patch that addressed all the discussed issues that did not break backward compatability, including the ability to output ISO-8601 compliant intervals by setting datestyle to iso8601basic. Interval values can now be written as ISO 8601 time intervals, using the "Format with time-unit designators". This format always starts with the character 'P', followed by a string of values followed by single character time-unit designators. A 'T' separates the date and time parts of the interval. Ron Mayer
2003-12-19Supress ecpg thread test if configure didn't enable threads. FixBruce Momjian
tools/thread to run even if configure didn't enable threads because this test is used before enabling threads for the OS.
2003-12-18Forgot to change one compatlib.h.Peter Eisentraut
2003-12-18Move Informix compatibility include files out of the way. compatlib.hPeter Eisentraut
was integrated into ecpg_informix.h, the other ones go into their own subdirectory that is automatically considered by the embedded preprocessor when in Informix mode.
2003-12-17- Added just another patch by Dave that fixes a reversed order inMichael Meskes
variable listing for output variables in cursor definitions - Fixed incorrect if call in long=>numeric conversion.
2003-12-03Added patch by Dave Cramer for array handling in ecpglib.Michael Meskes
2003-11-30Bump all version numbers and version stamps mentioned in RELEASE_CHANGES.Bruce Momjian
2003-11-29make sure the $Id tags are converted to $PostgreSQL as well ...PostgreSQL Daemon
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-11-19Fixed typo in create schema parsing.Michael Meskes
2003-11-10Re-added forgotten cache.Michael Meskes
2003-11-08Made sure an internal array is not treated as a user defined one.Michael Meskes
2003-11-03Fixed potentially uninitialized memory bug in compatlib.Michael Meskes
2003-11-02Complete options help and put it in less random order.Peter Eisentraut
2003-10-31If EOF is found inside a string/comment/etc. stop parsing.Michael Meskes
2003-10-30Applied patch by Dave Cramer to fix several bugs in compatlib.Michael Meskes
2003-10-28Include -lkrb5 when needed for shlibs depending on libpq. Per reportTom Lane
from Johan Henselmans.
2003-10-26Fixed bug with indicators when storage for the string is dynamically allocated.Michael Meskes
2003-10-22Add missing semicolon, per Johann Uhrmann.Tom Lane
Avoids warnings from newer bisons.
2003-10-21Cope with platforms that offer LONGLONG_MIN in place of the C99-specTom Lane
LLONG_MIN. One example is AIX, per report from Andreas.
2003-10-20Install dummy sqlda.h file since this is needed for compatibility.Michael Meskes
2003-10-19Check for both Informix modes when parsing include files.Michael Meskes
2003-10-12Added missing "commit" in test case.Michael Meskes
2003-10-08Removed my debug printf() call from numeric.cMichael Meskes
2003-10-07Fixed floating point exception in long=>numeric conversion.Michael Meskes
2003-10-07Add missing include file.Peter Eisentraut
2003-10-07Fixed error handling in Informix compat str to date conversion.Michael Meskes
2003-10-06- Fixed constant listing in execute using clause.Michael Meskes
- Fixed typo in ecpg for Informix dec_t type. - Fixed precision handling in Informix compat funxtions.
2003-10-05Fixed bug in day of week processing.Michael Meskes
2003-10-04Format help message internally consistent.Peter Eisentraut
2003-10-03Remove assorted compilation failures introduced by latest ecpg changes.Tom Lane
Also remove -g, which has no business in CPPFLAGS in the first place, let alone being hardwired there by a sub-Makefile.
2003-10-03Hide Informix datatypes. They are not seen by our built process anymore.Michael Meskes
2003-09-27Adjust Darwin build to use the default 'two level namespace' linkingTom Lane
method. Fix a number of places where shared libraries were linked without mentioning all the libraries they depend on; the Darwin and AIX ports are known to require this, and it doesn't seem to hurt any other supported platforms. (Hence, remove code in pl/tcl makefile that tried to avoid mentioning other libs if not needed.)
2003-09-27Rename thread compile flag. Move thread test program to tools/thread,Bruce Momjian
and improve tests.
2003-09-26Fixed segfault after error in parsing precision argument.Michael Meskes
2003-09-24Fix creation of temporary sequences in ecpg, per report from Edmund Bacon.Bruce Momjian