> 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: kuroda.diffs
Description: kuroda.diffs

Reply via email to