pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Amit Langote <amitlangote09@gmail.com>
Cc: tsunakawa.takay@fujitsu.com <tsunakawa.takay@fujitsu.com>
Cc: Andrey V. Lepikhov <a.lepikhov@postgrespro.ru>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: POC: postgres_fdw insert batching
Date: Thu, 21 Jan 2021 01:46:29 +0100
Message-ID: <90b0e85d-9db9-5e47-7746-5afba5ee8185@enterprisedb.com> (raw )
In-Reply-To: <794439.1611187182@sss.pgh.pa.us >
References: <20200628151002.7x5laxwpgvkyiu3q@development >
<TYAPR01MB2990BDB626DB2630E6CEA78AFEA70@TYAPR01MB2990.jpnprd01.prod.outlook.com >
<CA+HiwqESrO5BKHtWZZTSbK26OWk-Uhx6DYtdVEkpdaoZ=uW5BA@mail.gmail.com >
<OSBPR01MB29820BAA17AD3A79A49935EFFEA40@OSBPR01MB2982.jpnprd01.prod.outlook.com >
<16fcfd4c-2d5e-67f7-fa69-9b5d119bac52@enterprisedb.com >
<TYAPR01MB299026DB0E91E513664C162FFEA30@TYAPR01MB2990.jpnprd01.prod.outlook.com >
<ba58f299-d50b-f347-4a0f-778cb6ac5588@enterprisedb.com >
<TYAPR01MB2990A053D902EDF6244090BDFEA30@TYAPR01MB2990.jpnprd01.prod.outlook.com >
<CA+HiwqH-7+L0B7iNWcAe8auWch=-EnbRkLYMG-27K4rUKsWKOQ@mail.gmail.com >
<TYAPR01MB29903CBD68C9DA42B67D9EB6FEA30@TYAPR01MB2990.jpnprd01.prod.outlook.com >
<CA+HiwqGiwxSc8kc0PgPef5DgnP7NTRHVyAZJG3zxY4XBivbfLQ@mail.gmail.com >
<9d94c863-ce7c-ea7f-6b84-834c98929e2f@enterprisedb.com >
<CA+HiwqHTeQKqRpCA3TGZSCYTVOcUoUdXeSrRfjRRcmT1CfM1oA@mail.gmail.com >
<7e70a11e-cf5! d-2e5f-a802-274c5e0e236b@enterprisedb.com >
<794439.1611187182@sss.pgh.pa.us >
On 1/21/21 12:59 AM, Tom Lane wrote:
> Tomas Vondra <tomas.vondra@enterprisedb.com> writes:
>> OK, pushed after a little bit of additional polishing (mostly comments).
>> Thanks everyone!
>
> florican reports this is seriously broken on 32-bit hardware:
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=florican&dt=2021-01-20%2023%3A08%3A15
>
> First guess is incorrect memory-allocation computations ...
>
I know, although it seems more like an access to unitialized memory.
I've already posted a patch that resolves that for me on 64-bits (per
valgrind, I suppose it's the same issue).
I'm working on reproducing it on 32-bits, hopefully it won't take long.
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
view thread (115+ messages) latest in thread
Message-ID: <90b0e85d-9db9-5e47-7746-5afba5ee8185@enterprisedb.com>
Permalink: ../90b0e85d-9db9-5e47-7746-5afba5ee8185@enterprisedb.com/
Also on: postgresql.org/message-id/90b0e85d-9db9-5e47-7746-5afba5ee8185@enterprisedb.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tomas.vondra@enterprisedb.com, tgl@sss.pgh.pa.us, amitlangote09@gmail.com, tsunakawa.takay@fujitsu.com, a.lepikhov@postgrespro.ru, tomas.vondra@2ndquadrant.com
Subject: Re: POC: postgres_fdw insert batching
In-Reply-To: <90b0e85d-9db9-5e47-7746-5afba5ee8185@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox