- 02 Nov, 2004 2 commits
-
-
Bruce Momjian authored
can't strdup().
-
Bruce Momjian authored
exit(1); /* This could exit the postmaster */
-
- 01 Nov, 2004 10 commits
-
-
Tom Lane authored
to DAY precision or coarser; leave the timezone alone when precision is HOUR or less. This avoids surprises for inputs near a DST transition time, as per example from Matthew Gabeler-Lee. (The only reason we recalculate at all is so that outputs that are supposed to represent days will come out as local midnight, and that's not relevant for sub-day precision.)
-
Tom Lane authored
use it, as per my proposal of yesterday. This gives us a means of determining the zone offset to impute to an unlabeled timestamp that is both efficient and reliable, unlike all our previous tries involving mktime() and localtime(). The behavior for invalid or ambiguous times at a DST transition is fixed to be really and truly "assume standard time", fixing a bug that has come and gone repeatedly but was back again in 7.4. (There is some ongoing discussion about whether we should raise an error instead, but for the moment I'll make it do what it was previously intended to do.)
-
Bruce Momjian authored
interesting for MS to catch all those dumps... Anyway. Oops. Seems I ran my regression tests with the old psql, and just managed to update the backend, when I tested that patch. Turns out there are codepaths where we'd access the Critical Section before it was initialized. Attached patch breaks the initializeation off to a separate part and adds that one to a much earlier position in the program. Magnus Hagander
-
Bruce Momjian authored
-
Dave Cramer authored
-
Neil Conway authored
documentation.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
< * Add a GUC variable to control temporary and TOAST tablespace usage > * Add a GUC variable to control the tablespace for temporary objects
-
Bruce Momjian authored
> * Add a GUC variable to control temporary and TOAST tablespace usage
-
- 31 Oct, 2004 1 commit
-
-
Tom Lane authored
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.
-
- 30 Oct, 2004 4 commits
-
-
Tom Lane authored
Use this new function in psql. Implement query cancellation in psql for Windows. Code by Magnus Hagander, documentation and minor editorialization by Tom Lane.
-
Tom Lane authored
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.
-
Tom Lane authored
not ROLLBACK, for the case of COMMIT outside a transaction block. Alvaro Herrera
-
Peter Eisentraut authored
-
- 29 Oct, 2004 8 commits
-
-
Tom Lane authored
ON COMMIT actions. Per bug report from Michael Guerin.
-
Tom Lane authored
-
Bruce Momjian authored
-
Tom Lane authored
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.
-
Bruce Momjian authored
-
Neil Conway authored
TABLESPACE clause.
-
Neil Conway authored
-
Tom Lane authored
'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.
-
- 28 Oct, 2004 8 commits
-
-
Tom Lane authored
snprintf(data, len, %s, NULL) crash. The code was trying to find a connection by name when it already had an unnamed connection and did not have a name to search with. Kris Jurka
-
Tom Lane authored
-
Tom Lane authored
Karel Zak
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Neil Conway authored
and malloc() in pgstat.c, respectively. This simplifies error recovery, as well as being more consistent with the rest of the backend.
-
Tom Lane authored
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.
-
- 27 Oct, 2004 7 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
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.
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
Neil Conway authored
been built before it. Per report from Kris Jurka.
-
Peter Eisentraut authored
-