Filter:

Commits in week 35 (Aug 24 - Aug 30, 2009)

Commits14 commits of which 6 backported
0Author
14Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterRemove some useless assignments of the result of fread(). Quiets warnings from clang static checker, and makes the code more readable anyway IMO.
e1cc6419
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more
No linked threadAug 30, 2009
CommitterBackportedRemove duplicate variable initializations identified by clang static checker. One of these represents a nontrivial bug (a promptly-leaked palloc), so backpatch.
dd6de24e
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+16 more
No linked threadAug 30, 2009
CommitterRemove the use of the pg_auth flat file for client authentication. (That flat file is now completely useless, but removal will come later.)
e710b65c
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more
No linked threadAug 29, 2009
CommitterRemove useless code that propagated FrontendProtocol to a backend via a PostgresMain switch. In point of fact, FrontendProtocol is already set in a backend process, since ProcessStartupPacket() is executed inside the backend --- it hasn't been run by the postmaster for many years. And if it were, we'd still certainly want FrontendProtocol to be set before we get as far as PostgresMain, so that startup errors get reported in the right protocol.
0a00c9a8
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more
No linked threadAug 28, 2009
CommitterNon-Windows EXEC_BACKEND path was broken by recent write_inheritable_socket change ... it's got to return true.
c66d9ce7
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more
No linked threadAug 28, 2009
CommitterBackportedModify the definition of window-function PARTITION BY and ORDER BY clauses so that their elements are always taken as simple expressions over the query's input columns. It originally seemed like a good idea to make them act exactly like GROUP BY and ORDER BY, right down to the SQL92-era behavior of accepting output column names or numbers. However, that was not such a great idea, for two reasons:
bb16dc49
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+15 more
No linked threadAug 27, 2009
CommitterMake the .DEF file generation rules safe against tabs in exports.txt. Per bug #5016, although I think the MSVC build scripts may need a similar fix.
3d167209
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more
No linked threadAug 27, 2009
CommitterMake it reasonably safe to use pg_ctl to start the postmaster from a boot-time script.
8f5500e6
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more
No linked threadAug 27, 2009
CommitterRemove some unnecessary variable assignments, per results of "clang" static checker. Paul Matthews
aaa9f7d4
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more
No linked threadAug 27, 2009
CommitterBackportedTry to make silent_mode behave somewhat reasonably.
8bed238c
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+15 more
No linked threadAug 24, 2009
CommitterBackportedSmall correction to previous patch: we shouldn't ReleasePostmasterChildSlot for a dead_end child, because we didn't AssignPostmasterChildSlot.
5a4f7638
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+15 more
No linked threadAug 24, 2009
CommitterBackportedFix inclusions of readline/editline header files so that we only attempt to #include the version of history.h that is in the same directory as the readline.h we are using. This avoids problems in some scenarios where both readline and editline are installed. Report and patch by Zdenek Kotala.
9b708f1f
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+20 more
No linked threadAug 24, 2009
CommitterRun the "tablespace" regression test first not last. The former placement renders useless one of the few test methodologies we have for WAL replay, which is to intentionally crash the system just after completing the regression tests and see if it recovers to the expected database state. The reason is that DROP TABLESPACE forces a checkpoint, so there's essentially no WAL available for replay after the tests complete.
3bee0a46
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more
No linked threadAug 24, 2009
CommitterBackportedFix a violation of WAL coding rules in the recent patch to include an "all tuples visible" flag in heap page headers. The flag update *must* be applied before calling XLogInsert, but heap_update and the tuple moving routines in VACUUM FULL were ignoring this rule. A crash and replay could therefore leave the flag incorrectly set, causing rows to appear visible in seqscans when they should not be. This might explain recent reports of data corruption from Jeff Ross and others.
7fc7a7c4
master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+15 more
No linked threadAug 24, 2009