Filter:

Commits in week 41 (Oct 08 - Oct 14, 2007)

Commits18 commits of which 2 backported
0Author
18Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
Committermake install is supposed to install everything under src/include/, but it was missing a bunch of recently-added subdirectories.
7cf3ff10
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 14, 2007
CommitterOoops, forgot about adding -DFRONTEND.
cd8e1f50
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 13, 2007
CommitterMigrate the former contrib/txid module into core. This will make it easier for Slony and Skytools to depend on it. Per discussion.
18e3fcc3
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 13, 2007
CommitterRemove contrib/txid, in preparation for migrating it into core.
17333b6d
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 13, 2007
CommitterTry to fix msvc build for recent initdb changes.
041a8b37
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 13, 2007
CommitterStrengthen type_sanity's check on pg_type.typarray. It failed to complain about types that didn't have typarray set. Noted while working on txid patch.
2ffc0e88
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 13, 2007
CommitterGuard against possible double free during error escape from XML functions. Patch for the reported issue from Kris Jurka, some other potential trouble spots plugged by Tom.
ff1de5ce
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 13, 2007
CommitterFix the inadvertent libpq ABI breakage discovered by Martin Pitt: the renumbering of encoding IDs done between 8.2 and 8.3 turns out to break 8.2 initdb and psql if they are run with an 8.3beta1 libpq.so. For the moment we can rearrange the order of enum pg_enc to keep the same number for everything except PG_JOHAB, which isn't a problem since there are no direct references to it in the 8.2 programs anyway. (This does force initdb unfortunately.)
8468146b
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 13, 2007
CommitterBackportedFix ALTER COLUMN TYPE to preserve the tablespace and reloptions of indexes it affects. The original coding neglected tablespace entirely (causing the indexes to move to the database's default tablespace) and for an index belonging to a UNIQUE or PRIMARY KEY constraint, it would actually try to assign the parent table's reloptions to the index :-(. Per bug #3672 and subsequent investigation.
537e92e4
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+20 more
No linked threadOct 13, 2007
CommitterTeach planagg.c that partial indexes specifying WHERE foo IS NOT NULL can be used to perform MIN(foo) or MAX(foo), since we want to discard null rows in the indexscan anyway. (This would probably fall out for free if we were injecting the IS NOT NULL clause somewhere earlier, but given the current anatomy of the MIN/MAX optimization code we have to do it explicitly. Fortunately, very little added code is needed.) Per a discussion with Henk de Wit.
106264ca
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 13, 2007
CommitterWhen telling the bgwriter that we need a checkpoint because too much xlog has been consumed, recheck against the latest value of RedoRecPtr before really sending the signal. This avoids useless checkpoint activity if XLogWrite is executed when we have a very stale local copy of RedoRecPtr. The potential for useless checkpoint is very much worse in 8.3 because of the walwriter process (which never does XLogInsert), so while this behavior was intentional, it needs to be changed. Per report from Itagaki Takahiro.
5c8eb929
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 12, 2007
CommitterRemove hack in pg_tablespace_aclmask() that disallowed permissions on pg_global even to superusers, and replace it with checks in various other places to complain about invalid uses of pg_global. This ends up being a bit more code but it allows a more specific error message to be given, and it un-breaks pg_tablespace_size() on pg_global. Per discussion.
6daef2bc
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 12, 2007
CommitterBackportedEnsure that the result of evaluating a function during constant-expression simplification gets detoasted before it is incorporated into a Const node. Otherwise, if an immutable function were to return a TOAST pointer (an unlikely case, but it can be made to happen), we would end up with a plan that depends on the continued existence of the out-of-line toast datum.
2b0c86b6
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+22 more
No linked threadOct 11, 2007
CommitterCode review for txid patch: add binary I/O functions, avoid dependence on SerializableSnapshot, minor other cleanup. Marko Kreen, some further editorialization by me.
d77717ba
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 11, 2007
CommitterRemove incorrect use of VARSIZE() on a toasted datum. We can just remove it instead of fix it, since once we've set toast_action[i] to 'p' it no longer matters what toast_sizes[i] is. Greg Stark
56b7695c
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 11, 2007
CommitterFix the plan-invalidation mechanism to treat regclass constants that refer to a relation as a reason to invalidate a plan when the relation changes. This handles scenarios such as dropping/recreating a sequence that is referenced by nextval('seq') in a cached plan. Rather than teach plancache.c all about digging through plan trees to find regclass Consts, we charge the planner's setrefs.c with making a list of the relation OIDs on which each plan depends. That way the list can be built cheaply during a plan tree traversal that has to happen anyway. Per bug #3662 and subsequent discussion.
82d8ab6f
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 11, 2007
CommitterFaster test for overflow in str2txid, from Marko.
9f3bd299
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 08, 2007
CommitterGet rid of dependency on strtoull() --- Marko Kreen. Some additional minor editorializing by Tom.
b196b7fb
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 08, 2007