From: | "egashira(dot)yusuke(at)fujitsu(dot)com" <egashira(dot)yusuke(at)fujitsu(dot)com> |
---|---|
To: | 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com> |
Cc: | PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | RE: BUG #17254: Crash with 0xC0000409 in pg_stat_statements when pg_stat_tmp\pgss_query_texts.stat exceeded 2GB. |
Date: | 2021-11-02 02:56:57 |
Message-ID: | OSBPR01MB502921673DDF8EA5CA2703F4FF8B9@OSBPR01MB5029.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
=?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= <juanjo(dot)santamaria(at)gmail(dot)com> writes:
> On Sun, Oct 31, 2021 at 6:07 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Here's a quick patch for that. I don't have any ability to check it
>> on Windows, but the logic is easy to verify by reducing the arbitrary
>> constant to something small. (I used 1GB, not INT_MAX, because I figured
>> we ought to read in multiples of a filesystem block if possible.)
> I have tested the patch in Windows and it works as expected.
I have also patched our environment to make sure it does not crash.
Thank you for your prompt work.
Regards.
Yusuke Egashira.
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2021-11-02 04:24:23 | Re: BUG #17245: Index corruption involving deduplicated entries |
Previous Message | David G. Johnston | 2021-11-02 01:57:08 | Re: BUG #17261: FK ON UPDATE CASCADE can break referential integrity with columns of different types |