[COMMITTERS] pgsql: Fix assorted bugs in GIN's WAL replay logic.

2010-10-11 Thread Tom Lane
Fix assorted bugs in GIN's WAL replay logic. The original coding was quite sloppy about handling the case where XLogReadBuffer fails (because the page has since been deleted). This would result in either "bad buffer id: 0" or an Assert failure during replay, if indeed the page were no longer ther

[COMMITTERS] pgsql: Fix assorted bugs in GIN's WAL replay logic.

2010-10-11 Thread Tom Lane
Fix assorted bugs in GIN's WAL replay logic. The original coding was quite sloppy about handling the case where XLogReadBuffer fails (because the page has since been deleted). This would result in either "bad buffer id: 0" or an Assert failure during replay, if indeed the page were no longer ther

[COMMITTERS] pgsql: Fix assorted bugs in GIN's WAL replay logic.

2010-10-11 Thread Tom Lane
Fix assorted bugs in GIN's WAL replay logic. The original coding was quite sloppy about handling the case where XLogReadBuffer fails (because the page has since been deleted). This would result in either "bad buffer id: 0" or an Assert failure during replay, if indeed the page were no longer ther

[COMMITTERS] pgsql: Fix assorted bugs in GIN's WAL replay logic.

2010-10-11 Thread Tom Lane
Fix assorted bugs in GIN's WAL replay logic. The original coding was quite sloppy about handling the case where XLogReadBuffer fails (because the page has since been deleted). This would result in either "bad buffer id: 0" or an Assert failure during replay, if indeed the page were no longer ther

[COMMITTERS] pgsql: Fix assorted bugs in GIN's WAL replay logic.

2010-10-11 Thread Tom Lane
Fix assorted bugs in GIN's WAL replay logic. The original coding was quite sloppy about handling the case where XLogReadBuffer fails (because the page has since been deleted). This would result in either "bad buffer id: 0" or an Assert failure during replay, if indeed the page were no longer ther

[COMMITTERS] pgsql: Fix plpython so that it again honors typmod while assigning to t

2010-10-11 Thread Tom Lane
Fix plpython so that it again honors typmod while assigning to tuple fields. This was broken in 9.0 while improving plpython's conversion behavior for bytea and boolean. Per bug report from maizi. Branch -- REL9_0_STABLE Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=co

[COMMITTERS] pgsql: Fix plpython so that it again honors typmod while assigning to t

2010-10-11 Thread Tom Lane
Fix plpython so that it again honors typmod while assigning to tuple fields. This was broken in 9.0 while improving plpython's conversion behavior for bytea and boolean. Per bug report from maizi. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdif