Filter:

Commits in week 1 (Dec 31 - Jan 06, 2008)

Commits17 commits of which 9 backported
0Author
17Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBackportedA long time ago, Peter pointed out that ruleutils.c didn't dump simple constant ORDER/GROUP BY entries properly: http://archives.postgresql.org/pgsql-hackers/2001-04/msg00457.php The original solution to that was in fact no good, as demonstrated by today's report from Martin Pitt: http://archives.postgresql.org/pgsql-bugs/2008-01/msg00027.php We can't use the column-number-reference format for a constant that is a resjunk targetlist entry, a case that was unfortunately not thought of in the original discussion. What we can do instead (which did not work at the time, but does work in 7.3 and up) is to emit the constant with explicit ::typename decoration, even if it otherwise wouldn't need it. This is sufficient to keep the parser from thinking it's a column number reference, and indeed is probably what the user must have done to get such a thing into the querytree in the first place.
59358907
master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+21 more
No linked threadJan 06, 2008
CommitterStamp release 7.3.21.
9d4269f0
REL7_3_STABLE7.3.21
No linked threadJan 03, 2008
CommitterStamp release 7.4.19.
56a2a417
REL7_4_STABLE7.4.19
No linked threadJan 03, 2008
CommitterStamp release 8.0.15.
23196790
REL8_0_STABLE8.0.15
No linked threadJan 03, 2008
CommitterStamp release 8.1.11.
d419ce45
REL8_1_STABLE8.1.11
No linked threadJan 03, 2008
CommitterStamp release 8.2.6.
e29972bb
REL8_2_STABLE8.2.6
No linked threadJan 03, 2008
CommitterStamp release 8.3RC1.
2bf121e4
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 threadJan 03, 2008
CommitterBackportedUpdate release notes for security releases.
019fac77
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+22 more
No linked threadJan 03, 2008
CommitterBackportedThe original patch to disallow non-passworded connections to non-superusers failed to cover all the ways in which a connection can be initiated in dblink. Plug the remaining holes. Also, disallow transient connections in functions for which that feature makes no sense (because they are only sensible as part of a sequence of operations on the same connection). Joe Conway
919c9f6c
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+22 more
No linked threadJan 03, 2008
CommitterBackportedMake standard maintenance operations (including VACUUM, ANALYZE, REINDEX, and CLUSTER) execute as the table owner rather than the calling user, using the same privilege-switching mechanism already used for SECURITY DEFINER functions. The purpose of this change is to ensure that user-defined functions used in index definitions cannot acquire the privileges of a superuser account that is performing routine maintenance. While a function used in an index is supposed to be IMMUTABLE and thus not able to do anything very interesting, there are several easy ways around that restriction; and even if we could plug them all, there would remain a risk of reading sensitive information and broadcasting it through a covert channel such as CPU usage.
eedb068c
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+22 more
No linked threadJan 03, 2008
CommitterBackportedFix assorted security-grade bugs in the regex engine. All of these problems are shared with Tcl, since it's their code to begin with, and the patches have been copied from Tcl 8.5.0. Problems:
98f27aae
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+21 more
No linked threadJan 03, 2008
CommitterForbid ALTER TABLE and CLUSTER when there are pending AFTER-trigger events in the current backend for the target table. These operations move tuples around and would thus invalidate the TIDs stored in the trigger event records. (We need not worry about events in other backends, since acquiring exclusive lock should be enough to ensure there aren't any.) It might be sufficient to forbid only the table-rewriting variants of ALTER TABLE, but in the absence of any compelling use-case, let's just be safe and simple. Per follow-on investigation of bug #3847, though this is not actually the same problem reported therein.
20e86215
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 threadJan 02, 2008
CommitterBackportedInsert ARST into the list of known timezone abbreviations.
69528aef
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+21 more
No linked threadJan 02, 2008
CommitterBackportedFix plpython's overoptimistic caching of information about the rowtype of a trigger's target table. The rowtype could change from one call to the next, so cope in such cases, while avoiding doing repetitive catalog lookups. Per bug #3847 from Mark Reid.
baecbb91
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+18 more
No linked threadJan 02, 2008
CommitterBackportedUpdate time zone data files to tzdata release 2007k.
1af45f1d
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+20 more
No linked threadJan 01, 2008
CommitterFix some missed copyright updates.
ce9baa06
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 threadJan 01, 2008
CommitterBackportedImprove a number of elog messages for not-supposed-to-happen cases in btrees, since these seem to happen after all in corrupted indexes. Make sure we supply the index name in all cases, and provide relevant block numbers where available. Also consistently identify the index name as such.
ac1ae9f2
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+18 more
No linked threadDec 31, 2007