From: | Zoltan Boszormenyi <zb(at)cybertec(dot)at> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Hans-Juergen Schoenig <hs(at)cybertec(dot)at>, PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | [Fwd: Re: [PATCHES] 64-bit CommandIds] |
Date: | 2008-03-10 16:17:18 |
Message-ID: | 47D55F0E.6000104@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
what's your opinion on this?
I saw response only from Alvaro on the -patches list.
Thanks in advance,
Zoltán Böszörményi
-------- Eredeti üzenet --------
Tárgy: Re: [PATCHES] 64-bit CommandIds
Dátum: Tue, 04 Mar 2008 21:52:25 +0100
Feladó: Zoltan Boszormenyi <zb(at)cybertec(dot)at>
Címzett: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
CC: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Hans-Juergen Schoenig
<hs(at)cybertec(dot)at>
Hivatkozások: <47CD8665(dot)7070903(at)cybertec(dot)at>
<20080304174110(dot)GK4755(at)alvh(dot)no-ip(dot)org>
Alvaro Herrera írta:
> Zoltan Boszormenyi wrote:
>
>
>> attached is our patch against HEAD which enables extending CommandIds
>> to 64-bit. This is for enabling long transactions that really do that much
>> non-read-only work in one transaction.
>>
>
> I think you should add a pg_control field and corresponding check, to
> avoid a 64bit-Cid postmaster to start on a 32bit-Cid data area and vice
> versa.
>
I added the check but I needed to add it BEFORE checking for
toast_max_chunk_size otherwise it complained about this more
cryptic problem. I think it's cleaner to report this failure to know
why toast_max_chunk_size != TOAST_MAX_CHUNK_SIZE.
Best regards,
Zoltán Böszörményi
--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/
--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/
Attachment | Content-Type | Size |
---|---|---|
pg84-64-bit-cmdid-v2.patch | text/x-patch | 17.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Gregory Stark | 2008-03-10 16:59:30 | Re: [Fwd: Re: [PATCHES] 64-bit CommandIds] |
Previous Message | Heikki Linnakangas | 2008-03-10 16:08:35 | Re: CopyReadLineText optimization |