- 21 Apr, 2005 2 commits
-
-
Bruce Momjian authored
< * Add tool to query pg_stat_* tables and report indexes that aren't needed < or tables that might need indexes
-
Tom Lane authored
-
- 20 Apr, 2005 8 commits
-
-
Tom Lane authored
postmaster.pid still represents a live postmaster.
-
Tom Lane authored
allow clauseless scans.
-
Tom Lane authored
it. Per report from Marinos Yannikos.
-
Tom Lane authored
--enable-integer-datetimes case. Per report from Oliver Siegmar.
-
Tom Lane authored
bitmaps for multiple indexscans. Instead just let each indexscan add TIDs directly into the BitmapOr node's result bitmap.
-
Bruce Momjian authored
> * Add tool to query pg_stat_* tables and report indexes that aren't needed > or tables that might need indexes
-
Bruce Momjian authored
> * Log queries where the optimizer row estimates were dramatically > different from the number of rows actually found (?)
-
Bruce Momjian authored
> * All ability to monitor the use of temporary sort files
-
- 19 Apr, 2005 7 commits
-
-
Tom Lane authored
scans, using in-memory tuple ID bitmaps as the intermediary. The planner frontend (path creation and cost estimation) is not there yet, so none of this code can be executed. I have tested it using some hacked planner code that is far too ugly to see the light of day, however. Committing now so that the bulk of the infrastructure changes go in before the tree drifts under me.
-
Teodor Sigaev authored
-
Bruce Momjian authored
> >>>No, and I think it should be in the manual as an example. >>>You will need to enter a loop that uses exception handling to detect >>>unique_violation. >> >>Pursuant to an IRC discussion to which Dennis Bjorklund and >>Christopher Kings-Lynne made most of the contributions, please find >>enclosed an example patch demonstrating an UPSERT-like capability. >> David Fetter
-
Bruce Momjian authored
> > No, and I think it should be in the manual as an example. > > You will need to enter a loop that uses exception handling to detect > unique_violation. Pursuant to an IRC discussion to which Dennis Bjorklund and Christopher Kings-Lynne made most of the contributions, please find enclosed an example patch demonstrating an UPSERT-like capability. David Fetter
-
Bruce Momjian authored
command line. We find this useful because we frequently deal with thousands of tables in an environment where neither the databases nor the tables are updated frequently. This helps allow us to cut down on the overhead of updating the list for every other primary loop of pg_autovacuum. I chose -i as the command-line argument and documented it briefly in the README. The patch was applied to the 7.4.7 version of pg_autovacuum in contrib. Thomas F.O'Connell
-
Bruce Momjian authored
* Changes the APIs to the timezone functions to take a pg_tz pointer as an argument, representing the timezone to use for the selected operation. * Adds a global_timezone variable that represents the current timezone in the backend as set by SET TIMEZONE (or guc, or env, etc). * Implements a hash-table cache of loaded tables, so we don't have to read and parse the TZ file everytime we change a timezone. While not necesasry now (we don't change timezones very often), I beleive this will be necessary (or at least good) when "multiple timezones in the same query" is eventually implemented. And code-wise, this was the time to do it. There are no user-visible changes at this time. Implementing the "multiple zones in one query" is a later step... This also gets rid of some of the cruft needed to "back out a timezone change", since we previously couldn't check a timezone unless it was activated first. Passes regression tests on win32, linux (slackware 10) and solaris x86. Magnus Hagander
-
Bruce Momjian authored
-
- 18 Apr, 2005 16 commits
-
-
Tom Lane authored
than simply passing it down to pg_dump. Else, version-related failures in pg_dumpall itself generate unhelpful error messages.
-
Bruce Momjian authored
-
Bruce Momjian authored
> * Compress WAL entries [wal]
-
Bruce Momjian authored
-
Tom Lane authored
pfree'able result, since some callers expect to be able to pfree the result of a pass-by-reference function. Per report from Chris Trawick.
-
Bruce Momjian authored
< failure. > failure. This could be triggered by a user command or a timer. < * Force archiving of partially-full WAL files when pg_stop_backup() is < called or the server is stopped > * Automatically force archiving of partially-filled WAL files when > pg_stop_backup() is called or the server is stopped
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
before you are done.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
> > Doing this will allow administrators to know more easily when the > archive contins all the files needed for point-in-time recovery.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
> * Force archiving of partially-full WAL files when pg_stop_backup() is > called or the server is stopped
-
Bruce Momjian authored
-
- 17 Apr, 2005 3 commits
-
-
Tom Lane authored
Not connected to anything useful yet ...
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 16 Apr, 2005 2 commits
- 15 Apr, 2005 2 commits
-
-
Tom Lane authored
critical and noncritical contexts (an example of noncritical being post-checkpoint removal of dead xlog segments). In the critical cases the CRIT_SECTION mechanism will cause ERROR to be promoted to PANIC anyway, and in the noncritical cases we shouldn't let an error take down the entire database. Arguably there should be *no* explicit PANIC errors in this module, only more START/END_CRIT_SECTION calls, but I didn't go that far. (Yet.)
-
Tom Lane authored
when recycling a large number of xlog segments during checkpoint. The former behavior searched from the same start point each time, requiring O(checkpoint_segments^2) stat() calls to relocate all the segments. Instead keep track of where we stopped last time through.
-