RE: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Поиск
Список
Период
Сортировка
От Hayato Kuroda (Fujitsu)
Тема RE: Proposal: Filter irrelevant change before reassemble transactions during logical decoding
Дата
Msg-id OS7PR01MB14968AFE89E69F2B1C34C268FF5C32@OS7PR01MB14968.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на RE: Proposal: Filter irrelevant change before reassemble transactions during logical decoding  ("Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>)
Список 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


Вложения

В списке pgsql-hackers по дате отправления: