summaryrefslogtreecommitdiff
path: root/src/interfaces
AgeCommit message (Collapse)Author
2004-02-10More clearly describe why PQinSend returns false for non-threaded libpq.Bruce Momjian
2004-02-10Repair missing inclusions of -lintl for shared libraries.Tom Lane
2004-02-02Use Tcl_PutEnv() in place of putenv() in libpgtcl, as the latter canNeil Conway
apparently corrupt the Tcl runtime. Per suggestion from Michael Brusser <michael@synchronicity.com>
2004-02-02Briefly,Bruce Momjian
* configure + Makefile changes * shared memory attaching in EXEC_BACKEND case (+ minor fix for apparent cygwin bug under cygwin/EXEC_BACKEND case only) * PATH env var separator differences * missing win32 rand functions added * placeholder replacements for sync etc under port.h To those who are really interested, and there are a few of you: the attached patch + file will allow the source base to be compiled (and, for some definition, "run") under MingW, with the following caveats (I wanted to first properly fix all but the last of these, but y'all won't quit asking for a patch :-): * child death: SIGCHLD not yet sent, so as a minimum, you'll need to put in some sort of delay after StartupDatabase, and handle setting StartupPID to 0 etc (ie. the stuff the reaper() signal function is supposed to do) * dirmod.c: comment out the elog calls * dfmgr.c: some hackage required to substitute_libpath_macro * slru/xact.c: comment out the errno checking after the readdir (fixed by next version of MingW) Again, this is only if you *really* want to see postgres compile and start, and is a nice leg-up for working on the other Win32 TODO list items. Just don't expect too much else from it at this point... Claudio Natoli
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-26Ensure that close() and fclose() are checked for errors, at least inTom Lane
cases involving writes. Per recent discussion about the possibility of close-time failures on some filesystems. There is a TODO item for this, too.
2004-01-21Added WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE.Michael Meskes
2004-01-19Remove JDBC from the build system and documentation, too.Tom Lane
2004-01-19missed a few filesPostgreSQL Daemon
2004-01-19JDBC is now on GBorgPostgreSQL Daemon
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-13Translation updatePeter Eisentraut
2004-01-13Fix ecpg test program to properly access int* null indicator.Bruce Momjian
2004-01-09Add comment about synchronous signals.Bruce Momjian
2004-01-09Allow libpq to do thread-safe SIGPIPE handling. This allows it toBruce Momjian
ignore SIGPIPE from send() in libpq, but terminate on any other SIGPIPE, unless the user installs their own signal handler. This is a minor fix because the only time you get SIGPIPE from libpq's send() is when the backend dies.
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-05Translation updatesPeter Eisentraut
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-28Fix sanity-check code that mistakenly assumed error and notice messagesTom Lane
could never exceed 30K. Per report from Andreas Pflug.
2003-12-28Avoid infinite loop if connection is lost during PQexecStart() orTom Lane
PQexecFinish(). Per report from Andreas Pflug.
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-20Dept. of third thoughts: in fact, libpq should support SCM_CREDS challengeTom Lane
even when HAVE_GETPEEREID is defined, else it will be unable to connect to pre-7.4 backends that are using IDENT authentication.
2003-12-20Fix broken IDENT support for FreeBSD (appears to have been broken byTom Lane
ill-considered conditional logic in getpeereid patch of 3-Dec-2002). Per bug #1021.
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-19Prevent service dbname from defaulting to service name, per bug reportBruce Momjian
from Michael Fuhr
2003-12-18Fix memory leak with SSL connections due to missing X509_free() calls.Tom Lane
Per Neil Conway.
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-18patch for new OID74TestDave Cramer
2003-12-18fixed up OID74 test to conform with other tests, by Kris JurkaDave Cramer
2003-12-18patch by Kris Jurka to use the correct protocol based upon server informationDave Cramer
2003-12-17revoked patch from Kris Jurka to fix multiarguments, and changed test to createDave Cramer
a temp table
2003-12-17patch from Kris Jurka to fix large object 7.1 compatible protocol issuesDave Cramer
modified test case from Alexey Yudichev to be part of the testsuite
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-17added polish translation submitted by Piotr MajDave Cramer
2003-12-12add missing SQLState by Patrick HigginsDave Cramer
2003-12-12cancel row updates sets values to null by Kris JurkaDave Cramer
2003-12-12patch to indicate why test cases failed from Oliver JowettDave Cramer
2003-12-12patch to fix returning he information schema as a system object by Kris JurkaDave Cramer
2003-12-12fix casting pooled connections to PGStatement problem patch by JariPDave Cramer
2003-12-12patch to build under jdk1.1 from Richard ScrantonDave Cramer
2003-12-12binary stream patch by Kris Jurka fixes empty stream failureDave Cramer
2003-12-12metadata encoding patch from Kris JurkaDave Cramer
2003-12-11build number set to 300 to avoid conflict with 7.4 buildsDave Cramer
threadsafe patch from Karl von Randow applied