Filter:

Commits in week 21 (May 15 - May 21, 2000)

Commits9 commits
0Author
9Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterRemove calls to getprotobyname(), which we now know leaks memory on some platforms --- and I also see that it is documented as not thread- safe on HPUX and possibly other platforms. No good reason not to just use IPPROTO_TCP constant from <netinet/in.h> instead.
1f0aff03
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 21, 2000
CommitterRepair memory leaks that caused CacheCxt to grow without bound. We really ought to fix relcache entry construction so that it does not do so much with CurrentMemoryContext = CacheCxt. As is, relatively harmless leaks in either sequential or index scanning translate to permanent leaks if they occur when called from relcache build. For the moment, however, the path of least resistance is to repair all such leaks...
9dab9ab5
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 21, 2000
CommitterAdd debug code to aid in memory-leak tracking: if SHOW_MEMORY_STATS is defined then statistics about memory usage of all the global memory contexts are printed after each commit.
aa161791
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 21, 2000
CommitterClean up grotty references to CacheCxt (externs inside functions, duplicate global declarations, no points for style at all!)
25a7a7f4
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 20, 2000
Committerpg_dump barfs on negative values for index column numbers --- like, say, an index on a table's OID column. Mea maxima culpa ... but how'd we get through beta with no one noticing this?
8b5b3e00
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 19, 2000
CommitterRevise FlushRelationBuffers/ReleaseRelationBuffers per discussion with Hiroshi. ReleaseRelationBuffers now removes rel's buffers from pool, instead of merely marking them nondirty. The old code would leave valid buffers for a deleted relation, which didn't cause any known problems but can't possibly be a good idea. There were several places which called ReleaseRelationBuffers *and* FlushRelationBuffers, which is now unnecessary; but there were others that did not. FlushRelationBuffers no longer emits a warning notice if it finds dirty buffers to flush, because with the current bufmgr behavior that's not an unexpected condition. Also, FlushRelationBuffers will flush out all dirty buffers for the relation regardless of block number. This ensures that pg_upgrade's expectations are met about tuple on-row status bits being up-to-date on disk. Lastly, tweak BufTableDelete() to clear the buffer's tag so that no one can mistake it for being a still-valid buffer for the page it once held. Formerly, the buffer would not be found by buffer hashtable searches after BufTableDelete(), but it would still be thought to belong to its old relation by the routines that sequentially scan the shared-buffer array. Again I know of no bugs caused by that, but it still can't be a good idea.
f923260e
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 19, 2000
CommitterCorrect busted syntax of CC invocation for tas.s.
db90fdf9
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 19, 2000
CommitterReduce COPY IN lock from AccessExclusive to a more reasonable RowExclusive (my fault). Also, install a check to prevent people from trying COPY BINARY to stdout/from stdin. No way that will work unless we redesign the frontend COPY protocol ... which is not worth the trouble in the near future ...
ba26aeeb
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 18, 2000
CommitterRemove configure check for how to abbreviate 'tr A-Z a-z', and instead just use the portable form, tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz There were a bunch of places that weren't paying attention to configure's result anyway (including configure itself!?); clean them up too.
6dd06737
master7.0.2REL_19_STABLE7.0.2REL_18_STABLE7.0.2REL_17_STABLE7.0.2REL_16_STABLE7.0.2REL_15_STABLE7.0.2REL_14_STABLE7.0.2REL_13_STABLE7.0.2+25 more
No linked threadMay 16, 2000