From: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
---|---|
To: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, 'Ajin Cherian' <itsajin(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com> |
Cc: | vignesh C <vignesh21(at)gmail(dot)com>, "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | RE: Proposal: Filter irrelevant change before reassemble transactions during logical decoding |
Date: | 2025-02-25 04:07:02 |
Message-ID: | OS7PR01MB14968AFE89E69F2B1C34C268FF5C32@OS7PR01MB14968.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> 03.
> ```
> if (IsToastRelation(relation))
> {
> Oid real_reloid = InvalidOid;
> char *toast_name =
> RelationGetRelationName(relation);
> /* pg_toast_ len is 9 */
> char *start_ch = &toast_name[9];
>
> real_reloid = pg_strtoint32(start_ch);
> entry->relid = real_reloid;
> }
> ```
>
> It is bit hacky for me. How about using sscanf like attached?
I forgot to attach :-(.
Best regards,
Hayato Kuroda
FUJITSU LIMITED
Attachment | Content-Type | Size |
---|---|---|
kuroda.diffs | application/octet-stream | 816 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Ajin Cherian | 2025-02-25 04:26:34 | Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding |
Previous Message | John Naylor | 2025-02-25 03:55:43 | Re: Change GUC hashtable to use simplehash? |