Filter:

Commits in 2007

Commits87 commits of which 12 backported
0Author
87Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterAdd missing return code checks in the uuid-ossp contrib module, per bug #3841.
49448524
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 31, 2007
CommitterImprove wording.
048f69e2
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 17, 2007
CommitterCorrect result type of convert_to, per Pavel Stehule.
78436516
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 13, 2007
CommitterMake CSV column ordering a bit more logical.
230e8962
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 11, 2007
CommitterExtend the format of CSV logs to include the additional information supplied with the logged event. CSV logs are now a first-class citizen along plain text logs in that they carry much of the same information.
3bf66d6f
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 11, 2007
CommitterChange the "distributed checkpoint" release note item to Greg Smith's proposed wording.
a3102ce1
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 10, 2007
CommitterChange wording of logged message when cancelling an autovacuum task, using american speling (unlike this commit message). Per complaint from Mike C. on bug #3790 and subsequent discussion.
59c84150
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 06, 2007
CommitterBackportedFix buggy usage of vsnprintf in PL/Python by removing it altogether, instead relying on stringinfo.c. This fixes a problem reported by Marko Kreen, but I didn't use his patch, per subsequent discussion.
558c9270
master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+21 more
No linked threadNov 23, 2007
CommitterFix inconsistent message wording, and split off a couple of duplicated strings.
01579454
master8.3beta4REL_19_STABLE8.3beta4REL_18_STABLE8.3beta4REL_17_STABLE8.3beta4REL_16_STABLE8.3beta4REL_15_STABLE8.3beta4REL_14_STABLE8.3beta4REL_13_STABLE8.3beta4+17 more
No linked threadNov 16, 2007
CommitterPoint to our own UUID page instead of to Wikipedia.
83290b67
master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more
No linked threadNov 09, 2007
CommitterIn the previous commit message, I forgot to credit Simon Riggs who provided the patch, which I modified only slightly before applying.
92be6991
master8.3beta3REL_19_STABLE8.3beta3REL_18_STABLE8.3beta3REL_17_STABLE8.3beta3REL_16_STABLE8.3beta3REL_15_STABLE8.3beta3REL_14_STABLE8.3beta3REL_13_STABLE8.3beta3+17 more
No linked threadOct 29, 2007
CommitterAllow an autovacuum worker to be interrupted automatically when it is found to be locking another process (except when it's working to prevent Xid wraparound problems).
acac68b2
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 26, 2007
CommitterFix memory management for new variables -- they must actually survive transaction end, in case we decide to do a vacuum analyze (which is done in two xacts).
dd7444cf
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 25, 2007
CommitterExtract catalog info for error reporting before an error actually happens. Also, remove redundant reset of for-wraparound PGPROC flag.
dbe48765
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 25, 2007
CommitterUse more real-world examples in the text search parser documentation.
0e3ddc8d
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 25, 2007
CommitterAdd new encoding aliases for Solaris, per Zdenek Kotala.
f8c9ef90
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 25, 2007
CommitterRearrange vacuum-related bits in PGPROC as a bitmask, to better support having several of them. Add two more flags: whether the process is executing an ANALYZE, and whether a vacuum is for Xid wraparound (which is obviously only set by autovacuum).
745c1b2c
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 24, 2007
CommitterDanish_Danmark -> Danish_Denmark
5c4249c3
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 24, 2007
CommitterMinor changes to autovacuum worker: change error handling so that it continues with the next table on schedule instead of exiting, in all cases instead of just on query cancel.
2627c835
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 24, 2007
CommitterA few improvements to analyze and vacuum sections in documentation: add "see also" entries for autovacuum in analyze and vacuum reference pages, and enhance usage of cross-references in the maintenance page.
2a997a70
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 07, 2007
CommitterChange π to plain "pi" in index entry, to avoid double escaping issues.
a3ff9373
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 07, 2007
CommitterClean up the doc makefile for draft HTML generation. It no longer works to do "make DRAFT=Y html"; you need to use "make draft" (which was also supported previously).
2816b2cd
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 07, 2007
CommitterRemove stylesheet.css file on "make clean", created only on VPATH builds.
4718358f
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 07, 2007
CommitterFix missing parenthesis, per Guillaume Lelarge.
f5e29111
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 06, 2007
CommitterFix SGML markup, from Guillaume Lelarge.
c880ed0a
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 06, 2007
CommitterAdjust the new memory limit in the lazy vacuum code to use MaxHeapTuplesPerPage tuples per page instead of fixed 200, to better cope with systems that use a different block size.
b83e1163
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadSep 26, 2007
CommitterAvoid having autovacuum read pgstats data too many times in quick succession. This is problematic for the autovac launcher when there are many databases, so we keep data for a full second before reading it again.
45cbdaa0
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadSep 24, 2007
CommitterBackportedReduce the size of memory allocations by lazy vacuum when processing a small table, by allocating just enough for a hardcoded number of dead tuples per page. The current estimate is 200 dead tuples per page.
58536626
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+20 more
No linked threadSep 24, 2007
CommitterFix a memory leak in the autovacuum launcher code. Noted by Darcy Buskermolen, who reported it privately to me.
945ba50d
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadSep 12, 2007
CommitterMake REINDEX DATABASE silently skip remote temp tables.
07c82267
REL8_1_STABLE8.1.10
No linked threadSep 12, 2007
CommitterBackportedFix the database-wide version of CLUSTER to silently skip temp tables of remote sessions, instead of erroring out in the middle of the operation.
57dcb0f8
REL8_1_STABLE8.1.10REL8_0_STABLE8.0.14REL7_4_STABLE7.4.18
No linked threadSep 12, 2007
CommitterBackportedAdd a CHECK_FOR_INTERRUPTS call in the site where the vacuum delay point was removed.
9588e1bd
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+20 more
No linked threadSep 12, 2007
CommitterBackportedMake CLUSTER and REINDEX silently skip remote temp tables in their database-wide editions.
b366562e
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+18 more
No linked threadSep 10, 2007
CommitterRelease the exclusive lock on the table early after truncating it in lazy vacuum, instead of waiting till commit.
6a10f0f7
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadSep 10, 2007
CommitterBackportedRemove the vacuum_delay_point call in count_nondeletable_pages, because we hold an exclusive lock on the table at this point, which we want to release as soon as possible. This is called in the phase of lazy vacuum where we truncate the empty pages at the end of the table.
21c27af6
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+20 more
No linked threadSep 10, 2007
CommitterSet a default autovacuum vacuum_cost_delay value of 20ms, to avoid excessive I/O utilization, per discussion.
53d2951b
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJul 24, 2007
CommitterReword paragraph about the autovacuum_max_workers setting. Patch from Jim Nasby.
aa81c558
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJul 23, 2007
CommitterCast NULL to a pointer type in the execl() call, to avoid a compiler warning on some platforms and possibly a bug. Per report from Stefan and subsequent discussion.
cdedfe6a
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJul 18, 2007
CommitterAvoid crash in interrupted autovacuum worker, caused by leaving the current memory context pointing at a context not long lived enough.
2910ccef
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 30, 2007
CommitterArrange for SIGINT in autovacuum workers to cancel the current table and continue with the schedule. Change current uses of SIGINT to abort a worker into SIGTERM, which keeps the old behaviour of terminating the process.
10af02b9
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 29, 2007
CommitterRemove unused "caller" argument from stringToQualifiedNameList.
80f3b5ad
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 26, 2007
CommitterRemove unused BAD_LOCATION definition.
a03e8ad2
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 25, 2007
CommitterImprove autovacuum launcher's ability to detect a problem in worker startup, by having the postmaster signal it when certain failures occur. This requires the postmaster setting a flag in shared memory, but should be as safe as the pmsignal.c code is.
bae0b568
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 25, 2007
CommitterBackportedAvoid having autovacuum run multiple ANALYZE commands in a single transaction, to prevent possible deadlock problems. Per request from Tom Lane.
bd06ab29
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+19 more
No linked threadJun 14, 2007
CommitterAvoid integer overflow issues in autovacuum.
a0a26c47
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 13, 2007
CommitterVPATH fixes.
e41c7bb7
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 12, 2007
CommitterDisallow the cost balancing code from resulting in a zero cost limit, which causes a division-by-zero error in the vacuum code. This can happen when there are more workers than cost limit units.
a4d58727
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 08, 2007
CommitterAvoid passing zero as a value for vacuum_cost_limit, because it's not a valid value for the vacuum code. Instead, make zero signify getting the value from a higher level configuration facility, just like -1 in the original coding. We still document that -1 is the value that disables the feature, to avoid confusing the user unnecessarily.
2b438c12
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJun 08, 2007
CommitterBackportedAvoid losing track of data for shared tables in pgstats. Report by Michael Fuhr, patch from Tom Lane after a messier suggestion by me.
2d9d7a6b
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+19 more
No linked threadJun 07, 2007
CommitterRemove unsupported -u option from pg_standby example usage. From Pavel Stehule.
0f6e2d08
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 22, 2007
CommitterFix dumb compile error in the last patch.
e18ca9bb
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 19, 2007
CommitterHave CLUSTER advance the table's relfrozenxid. The new frozen point is the FreezeXid introduced in a recent commit, so there isn't any data loss in this approach.
b40776d2
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 18, 2007
CommitterMove the tuple freezing point in CLUSTER to a point further back in the past, to avoid losing useful Xid information in not-so-old tuples. This makes CLUSTER behave the same as VACUUM as far a tuple-freezing behavior goes (though CLUSTER does not yet advance the table's relfrozenxid).
3b0347b3
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 17, 2007
CommitterHave TRUNCATE advance the affected table's relfrozenxid to RecentXmin, to avoid a later needless VACUUM for Xid-wraparound purposes. We can do this since the table is known to be left empty, so no Xid remains on it.
90cbc63f
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 16, 2007
CommitterHave the rewriteheap code freeze old tuples. This is safe because it is only applied to live tuples older than a recent Xmin, not to tuples that may be part of an update chain. Those still keep their original markings.
dfed0012
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 16, 2007
CommitterBackportedAvoid emitting empty role names in the GRANTED BY clause of GRANT ROLE when the grantor has been dropped. This is a workaround for the fact that we don't track the grantor as a shared dependency.
d365ce1f
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+19 more
No linked threadMay 15, 2007
CommitterReport all dependent objects to the server log when a shared object is dropped, and only a truncated log of the objects in the current database to the client. Also, instead of reporting object counts for all databases on which the user might own objects, report only as many as fit in the predefined line count.
689dea42
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 14, 2007
CommitterMake sure we don't skip databases that are supposed to be vacuumed "exactly now". This can happen if the time granularity is not very high.
067deaf8
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 07, 2007
CommitterBackportedFix a few more double words in docs.
1aefa048
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+18 more
No linked threadMay 03, 2007
CommitterUse the new TimestampDifferenceExceeds API instead of timestamp_cmp_internal and TimestampDifference, to make coding clearer. I think this should also fix the failure to start workers in platforms with low resolution timers, as reported by Itagaki Takahiro.
229d3380
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 02, 2007
CommitterFix failure to check for INVALID worker entry in the new autovacuum code, which could happen when a worker took to long to start and was thus "aborted" by the launcher. Noticed by lionfish buildfarm member.
a115bfe3
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMay 02, 2007
CommitterSilence compiler warnings, per Bruce.
dfa58878
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 19, 2007
CommitterEnable configurable log of autovacuum actions. Initial patch from Simon Riggs, additional code and docs by me. Per discussion.
ef23a774
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 18, 2007
CommitterAdd a multi-worker capability to autovacuum. This allows multiple worker processes to be running simultaneously. Also, now autovacuum processes do not count towards the max_connections limit; they are counted separately from regular processes, and are limited by the new GUC variable autovacuum_max_workers.
e2a186b0
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 16, 2007
CommitterAdd the "recheck" logic to autovacuum worker code. The worker first builds its table list and then rechecks pgstat before vacuuming each table to verify that no one has vacuumed the table in the meantime.
7d4c9a57
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMar 28, 2007
CommitterCosmetic changes: rename some struct fields, and move the fetching of pgstat table entries to a separate routine. Don't pass the pgstat database entry to do_autovacuum; rather, have it fetch it by itself.
f1a596bd
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMar 27, 2007
CommitterSet the node properly, per Tom.
e019bbc9
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMar 23, 2007
CommitterSeparate the code to start a new worker into its own function. The code is exactly the same, modulo whitespace.
a0abe87f
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMar 23, 2007
CommitterSeparate fetch of pg_autovacuum tuple into its own function.
6287eb7a
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMar 23, 2007
CommitterWe no longer need to palloc the VacuumStmt node; keeping it on the stack is simpler.
8aaecaf8
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMar 23, 2007
CommitterRemove the currently unused FRONTEND case in dllist.c. This allows the usage of palloc instead of malloc, which means a list can be freed simply by deleting the memory context that contains it.
8f65c02f
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMar 22, 2007
CommitterBackportedFix uninitialized value in pgstatindex leading to invalid values being reported in some cases. Report and patch from Tatsuhito Kasahara.
c9d3b8f5
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+18 more
No linked threadMar 16, 2007
CommitterBackportedFix a race condition that caused pg_database_size() and pg_tablespace_size() to fail if an object was removed between calls to ReadDir() and stat(). Per discussion in pgsql-hackers.
576027bb
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+19 more
No linked threadMar 11, 2007
CommitterCleanup the bootstrap code a little, and rename "dummy procs" in the code comments and variables to "auxiliary proc", per Heikki's request.
626eb021
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadMar 07, 2007
CommitterInstall a more correct fix in the timestamp and timestamptz regression tests: remove duplicated tests in timestamp, and complete timestamptz with the tests that were missing to more closely mirror timestamp.
8d2b05df
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadFeb 16, 2007
CommitterFix the timestamptz test problem, by moving the tests that use the timestamp_tbl table into the timestamp test. Also, restore a test that used to exist as a valid test in the timestamptz test.
7f1d68a4
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadFeb 16, 2007
CommitterRemove useless database name from bootstrap argument processing (including startup and bgwriter processes), and the -y flag. It's not used anywhere.
68046a20
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadFeb 16, 2007
CommitterRestructure autovacuum in two processes: a dummy process, which runs continuously, and requests vacuum runs of "autovacuum workers" to postmaster. The workers do the actual vacuum work. This allows for future improvements, like allowing multiple autovacuum jobs running in parallel.
18206509
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadFeb 15, 2007
CommitterFix reference-after-free in the new btree page split code, as reported by the buildfarm via Stefan Kaltenbrunner.
f8ebab90
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadFeb 08, 2007
CommitterThe VC++ build needs to compile the new strlcat.c file. Patch from Magnus Hagander.
53d7d490
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadFeb 07, 2007
CommitterThis patch is required for vcbuild to work after the changes to pg_proc.h (it's the same changes that's in gen_fmgrtab.sh in the unix build).
e25138f3
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJan 23, 2007
CommitterFix pg_regress breakage for PL and contrib tests, by not requiring that "input" and "output" dirs be necessarily present.
67a4c24b
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJan 19, 2007
CommitterChange the sed rules in the regression test for pg_regress hackery to create the generated files, to help Visual C++ to run these tests. The tests still pass in VPATH and normal builds.
5b4a0889
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJan 19, 2007
CommitterEnable autovacuum in the default configuration, per discussion.
10a5e334
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJan 16, 2007
CommitterArrange for autovacuum to be killed when another operation wants to be alone accessing it, like DROP DATABASE. This allows the regression tests to pass with autovacuum enabled, which open the gates for finally enabling autovacuum by default.
eb63cc3d
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJan 16, 2007
CommitterReplace unnecessary DISABLE_ZLIB define in pgcrypto with HAVE_LIBZ from core.
a62e2c2b
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadJan 14, 2007
CommitterFix autovacuum to avoid leaving non-permanent Xids in non-connectable databases.
d8b5a71c
REL8_1_STABLE8.1.7
No linked threadJan 14, 2007