- 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 14 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
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Neil Conway authored
-
Bruce Momjian authored
Ian Barwick
-
- 26 Oct, 2004 5 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
index entries for IS-foo constructs.
-
Bruce Momjian authored
> * Allow TIMESTAMP WITH TIME ZONE to store the original timezone > information, either by name or offset from UTC
-
Bruce Momjian authored
Viktor Vislobokov
-
Tom Lane authored
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.
-
- 25 Oct, 2004 1 commit
-
-
Tom Lane authored
the parent table, it's essential that all index accesses take some kind of lock on the index. I had missed vacuumlazy.c :-( ...
-