Filter:

Commits on January 17, 2008

Commits3 commits of which 1 backported
0Author
3Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterInsert into getCopyDataMessage() the same logic that already existed in the main code path for enlarging libpq's input buffer in one swoop when needing to read a long data message. Without this, the code will double the buffer size, read more data, notice it still hasn't got the whole message, and repeat till it finally has a large enough buffer. Which wastes a lot of data-moving effort and also memory (since malloc probably can't do anything very useful with the freed-up smaller buffers). Not sure why this wasn't there already; certainly the COPY data path is a place where we're quite likely to see long data messages. I'm not backpatching though, since this is just a marginal performance issue rather than a real bug.
70066eb1
master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more
No linked threadJan 17, 2008
CommitterBackportedFix subselect.c to avoid assuming that a SubLink's testexpr references each subquery output column exactly once left-to-right. Although this is the case in the original parser output, it might not be so after rewriting and constant-folding, as illustrated by bug #3882 from Jan Mate. Instead scan the subquery's target list to obtain needed per-column information; this is duplicative of what the parser did, but only a couple dozen lines need be copied, and we can clean up a couple of notational uglinesses. Bug was introduced in 8.2 as part of revision of SubLink representation.
a44174cf
master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+18 more
No linked threadJan 17, 2008
CommitterFix ALTER INDEX RENAME so that if the index belongs to a unique or primary key constraint, the constraint is renamed as well. This avoids inconsistent situations that could confuse pg_dump (not to mention humans). We might at some point provide ALTER TABLE RENAME CONSTRAINT as a more general solution, but there seems no reason not to allow doing it this way too. Per bug #3854 and related discussions.
0df7717f
master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more
No linked threadJan 17, 2008