Re: generate syscache info automatically - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: generate syscache info automatically
Date
Msg-id 6e928f3b-c1fd-c2bb-bfc5-20cb641c7252@eisentraut.org
Whole thread Raw
In response to Re: generate syscache info automatically  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
List pgsql-hackers
On 31.05.23 13:02, Dagfinn Ilmari Mannsåker wrote:
> For other patterns without the optional bits in the keyword, it becomes
> even simpler, e.g.
> 
>         if (/^DECLARE_TOAST\(\s*
>              (?<parent_table>\w+),\s*
>              (?<toast_oid>\d+),\s*
>              (?<toast_index_oid>\d+)\s*
>              \)/x
>           )
>         {
>             push @{ $catalog{toasting} }, {%+};
>            }
> 
> 
> I'd be happy to submit a patch to do this for all the ParseHeader()
> regexes (in a separate thread) if others agree this is an improvement.

I would welcome such a patch.




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Docs: Encourage strong server verification with SCRAM
Next
From: "Imseih (AWS), Sami"
Date:
Subject: [BUG] pg_dump does not properly deal with BEGIN ATOMIC function