summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-11-01Adjust use of sizeof(EXE).Bruce Momjian
2004-11-01Clarify coding of .exe patchBruce Momjian
2004-10-31Use psql -q option instead of 2>/dev/null during first invocationTom Lane
of psql; this should make it easier to diagnose client-side problems, such as library version mismatch. Also, consistently use -X option to avoid problems from weird .psqlrc settings.
2004-10-30Invent a new, more thread-safe version of PQrequestCancel, called PQcancel.Tom Lane
Use this new function in psql. Implement query cancellation in psql for Windows. Code by Magnus Hagander, documentation and minor editorialization by Tom Lane.
2004-10-30I found a corner case in which it is possible for RI_FKey_check's callTom Lane
of HeapTupleSatisfiesItself() to trigger a hint-bit update on the tuple: if the row was updated or deleted by a subtransaction of my own transaction that was later rolled back. This cannot occur in pre-8.0 of course, so the hint-bit patch applied a couple weeks ago is OK for existing releases. But for 8.0 it seems we had better fix things so that RI_FKey_check can pass the correct buffer number to HeapTupleSatisfiesItself. Accordingly, add fields to the TriggerData struct to carry the buffer ID(s) for the old and new tuple(s). There are other possible solutions but this one seems cleanest; it will allow other AFTER-trigger functions to safely do tqual.c calls if they want to. Put new fields at end of struct so that there is no API breakage.
2004-10-30Change COMMIT back to the old behavior of emitting command tag COMMIT,Tom Lane
not ROLLBACK, for the case of COMMIT outside a transaction block. Alvaro Herrera
2004-10-30Translation updatePeter Eisentraut
2004-10-29Rearrange order of pre-commit operations: must close cursors before doingTom Lane
ON COMMIT actions. Per bug report from Michael Guerin.
2004-10-29No need to set errorMessage length --- already set in goto target.Bruce Momjian
2004-10-29Fix failure to think clearly about encoding conversion errors in COPY.Tom Lane
We can't regurgitate the unconverted string as I first thought, because the elog.c mechanisms will assume the error message data is in the server encoding and attempt a reverse conversion. Eventually it might be worth providing a short-circuit path to support this, but for now the simplest solution is to abandon trying to report back the line contents after a conversion failure. Per bug report from Sil Lee, 27-Oct-2004.
2004-10-29Set errorMessage length in PQrequestCancel() in all places.Bruce Momjian
2004-10-29Add DEBUG1-level logging of checkpoint start and end. Also, reduce theTom Lane
'recycled log files' and 'removed log files' messages from DEBUG1 to DEBUG2, replacing them with a count of files added/removed/recycled in the checkpoint end message, as per suggestion from Simon Riggs.
2004-10-28Code cleanup in dirmod.c. Andrew Dunstan, some further mods by moi.Tom Lane
2004-10-28Fix to_number for the case of a trailing S.Tom Lane
Karel Zak
2004-10-28Translation updatePeter Eisentraut
2004-10-28Translation updatesPeter Eisentraut
2004-10-28Translation updatesPeter Eisentraut
2004-10-28Use AllocateFile(), FreeFile() and palloc() rather than fopen(), fclose()Neil Conway
and malloc() in pgstat.c, respectively. This simplifies error recovery, as well as being more consistent with the rest of the backend.
2004-10-28On Windows, force a checkpoint just before dropping a database's physicalTom Lane
files and directories. This ensures that the bgwriter will close any open file references it is holding for files therein, which is needed for the rmdir() to succeed. Andrew Dunstan and Tom Lane.
2004-10-27Have pg_ctl status always output to stdout, even stopped status, not stderr.Bruce Momjian
2004-10-27Fix Cygwin compile for timezone.Bruce Momjian
2004-10-27When displaying a Var that is a reference to a column of an unnamed join,Tom Lane
try to display it as a reference to the underlying column instead. This is a legitimate substitution (it wouldn't be for a named join) and it fixes some cases where the display would otherwise be ambiguous. Per example from Sim Zacks.
2004-10-27Canonicalize Win32 path coming in from pg_ctl -D, idea from Magnus.Bruce Momjian
2004-10-27Translation updatePeter Eisentraut
2004-10-27Add a missing dependency: the "install" target requires "all" to haveNeil Conway
been built before it. Per report from Kris Jurka.
2004-10-27New translationPeter Eisentraut
2004-10-27Translation updatesPeter Eisentraut
2004-10-27Translation updatePeter Eisentraut
2004-10-27Translation updatesPeter Eisentraut
2004-10-27Translation updatesPeter Eisentraut
2004-10-27Translation updatesPeter Eisentraut
2004-10-27Trivial fix: clarify a comment.Neil Conway
2004-10-26Add reminder to update copyright in sgml file.Bruce Momjian
2004-10-26Make heap_fetch API more consistent by having the buffer remain pinnedTom Lane
in all cases when keep_buf = true. This allows ANALYZE's inner loop to use heap_release_fetch, which saves multiple buffer lookups for the same page and avoids overestimation of cost by the vacuum cost mechanism.
2004-10-25In the new dispensation where REINDEX doesn't take exclusive lock onTom Lane
the parent table, it's essential that all index accesses take some kind of lock on the index. I had missed vacuumlazy.c :-( ...
2004-10-25Update copyright information in documentation. Also, add a noteNeil Conway
to RELEASE_CHANGES so that this is not forgotten in the future.
2004-10-25Remove three unnecessary casts from a pointer type to char * when callingNeil Conway
pfree().
2004-10-25Fix tyop in comment.Neil Conway
2004-10-25Make error message more verbose, in hopes of avoiding misunderstandingsTom Lane
such as bug #1293.
2004-10-25Modify hash_create() to elog(ERROR) if an error occurs, rather thanNeil Conway
returning a NULL pointer (some callers remembered to check the return value, but some did not -- it is safer to just bail out). Also, cleanup pgstat.c to use elog(ERROR) rather than elog(LOG) followed by exit().
2004-10-24Adjust message to not be misleading on Windows.Tom Lane
Andrew Dunstan
2004-10-24On Windows, cause get_progname to strip any .EXE suffix.Tom Lane
Andrew Dunstan
2004-10-24Write config files as text not binary, per Magnus Hagander.Tom Lane
2004-10-24Sync timezone data with latest zic database (dated Oct 11 2004).Tom Lane
2004-10-24Update RELEASE_CHANGES to mention updating the timezone database asTom Lane
a routine part of release prep.
2004-10-24Translation updateDennis Bjorklund
2004-10-23Translation updateDennis Bjorklund
2004-10-23Translation updatesDennis Bjorklund
2004-10-23Translation updateDennis Bjorklund
2004-10-23Translation updatesDennis Bjorklund