<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/src/include/storage, branch REL7_0_PATCHES</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>Revise FlushRelationBuffers/ReleaseRelationBuffers per discussion with</title>
<updated>2000-05-19T03:22:31+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2000-05-19T03:22:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=f923260ec8aa5c02b806fe0b5f3b6d8ce628c318'/>
<id>f923260ec8aa5c02b806fe0b5f3b6d8ce628c318</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ye-old pgindent run.  Same 4-space tabs.</title>
<updated>2000-04-12T17:17:23+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2000-04-12T17:17:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=52f77df613cea1803ce86321c37229626d9f213c'/>
<id>52f77df613cea1803ce86321c37229626d9f213c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tweak smgrblindwrt per advice from Vadim: add parameter indicating</title>
<updated>2000-04-10T23:41:52+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2000-04-10T23:41:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=2692d329eba45b30a038309f3e0ddb8d03f6e830'/>
<id>2692d329eba45b30a038309f3e0ddb8d03f6e830</id>
<content type='text'>
whether to do fsync or not, and if so (which should be seldom) just
do the fsync immediately.  This way we need not build data structures
in md.c/fd.c for blind writes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
whether to do fsync or not, and if so (which should be seldom) just
do the fsync immediately.  This way we need not build data structures
in md.c/fd.c for blind writes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Buffer manager modifications to keep a local buffer-dirtied bit as well</title>
<updated>2000-04-09T04:43:20+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2000-04-09T04:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=1f6d8b90b83e02af8e73adcb167581bb10d6be22'/>
<id>1f6d8b90b83e02af8e73adcb167581bb10d6be22</id>
<content type='text'>
as a shared dirtybit for each shared buffer.  The shared dirtybit still
controls writing the buffer, but the local bit controls whether we need
to fsync the buffer's file.  This arrangement fixes a bug that allowed
some required fsyncs to be missed, and should improve performance as well.
For more info see my post of same date on pghackers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as a shared dirtybit for each shared buffer.  The shared dirtybit still
controls writing the buffer, but the local bit controls whether we need
to fsync the buffer's file.  This arrangement fixes a bug that allowed
some required fsyncs to be missed, and should improve performance as well.
For more info see my post of same date on pghackers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of SetBufferWriteMode(), which was an accident waiting to happen.</title>
<updated>2000-03-31T02:43:31+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2000-03-31T02:43:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=ca05ba2a9d6e9b2a41c16eb1844fdc4c66fce1d4'/>
<id>ca05ba2a9d6e9b2a41c16eb1844fdc4c66fce1d4</id>
<content type='text'>
In the event of an elog() while the mode was set to immediate write,
there was no way for it to be set back to the normal delayed write.
The mechanism was a waste of space and cycles anyway, since the only user
was varsup.c, which could perfectly well call FlushBuffer directly.
Now it does just that, and the notion of a write mode is gone.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the event of an elog() while the mode was set to immediate write,
there was no way for it to be set back to the normal delayed write.
The mechanism was a waste of space and cycles anyway, since the only user
was varsup.c, which could perfectly well call FlushBuffer directly.
Now it does just that, and the notion of a write mode is gone.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bunch of minor portability problems and maybe-bugs revealed by</title>
<updated>2000-03-17T02:36:41+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2000-03-17T02:36:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=341b328b180e65d1fa5c8f2235cf101c8a12824f'/>
<id>341b328b180e65d1fa5c8f2235cf101c8a12824f</id>
<content type='text'>
running gcc and HP's cc with warnings cranked way up.  Signed vs unsigned
comparisons, routines declared static and then defined not-static,
that kind of thing.  Tedious, but perhaps useful...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
running gcc and HP's cc with warnings cranked way up.  Signed vs unsigned
comparisons, routines declared static and then defined not-static,
that kind of thing.  Tedious, but perhaps useful...
</pre>
</div>
</content>
</entry>
<entry>
<title>Change cancel while waiting-for-lock stuff.</title>
<updated>2000-02-22T09:55:26+00:00</updated>
<author>
<name>Hiroshi Inoue</name>
<email>inoue@tpf.co.jp</email>
</author>
<published>2000-02-22T09:55:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=5525297465185198d7a5db9273d5fab9e8a3faf1'/>
<id>5525297465185198d7a5db9273d5fab9e8a3faf1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add:</title>
<updated>2000-01-26T05:58:53+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2000-01-26T05:58:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=5c25d60244d3a4b458ba55d4f1e50386edb26507'/>
<id>5c25d60244d3a4b458ba55d4f1e50386edb26507</id>
<content type='text'>
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc

to all files copyright Regents of Berkeley.  Man, that's a lot of files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc

to all files copyright Regents of Berkeley.  Man, that's a lot of files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for TODO item * spinlock stuck problem when elog(FATAL)</title>
<updated>2000-01-17T01:15:19+00:00</updated>
<author>
<name>Hiroshi Inoue</name>
<email>inoue@tpf.co.jp</email>
</author>
<published>2000-01-17T01:15:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=1500e262b55b581f5f11ce842ef98945c35d8656'/>
<id>1500e262b55b581f5f11ce842ef98945c35d8656</id>
<content type='text'>
and elog(ERROR) inside bufmgr.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and elog(ERROR) inside bufmgr.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed all elog related warnings, as well as a few others.</title>
<updated>2000-01-15T02:59:43+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2000-01-15T02:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=1cd4c141167131f0739a654c6f703fc1a5154f0f'/>
<id>1cd4c141167131f0739a654c6f703fc1a5154f0f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
