From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | 自己 <zoulx1982(at)163(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Simon Riggs <simon(at)2ndquadrant(dot)com> |
Subject: | Re: some question about _bt_getbuf |
Date: | 2018-05-14 17:49:41 |
Message-ID: | 27931.1526320181@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
=?GBK?B?19S8ug==?= <zoulx1982(at)163(dot)com> writes:
> i run test using pg10.0 on my machine, and the program crashed on _bt_getbuf.
> And i found the following code:
> the routine _bt_page_recyclable say maybe the page is all-zero page, if so
> then the code run (BTPageOpaque) PageGetSpecialPointer(page); it will be failed because
> it access invalid memory.
> I don't know whether it is so. Look forward t your reply, thanks.
This code's clearly broken, as was discussed before:
/message-id/flat/2628.1474272158%40localhost
but nothing was done about it, perhaps partly because we didn't have
a reproducible test case. Do you have one?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-05-14 18:01:43 | Re: SPI/backend equivalent of extended-query Describe(statement)? |
Previous Message | Chapman Flack | 2018-05-14 17:46:07 | Re: SPI/backend equivalent of extended-query Describe(statement)? |