Re: generate syscache info automatically

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: generate syscache info automatically
Date: 2023-05-31 21:24:01
Message-ID: 6e928f3b-c1fd-c2bb-bfc5-20cb641c7252@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Imseih (AWS), Sami 2023-05-31 21:51:25 [BUG] pg_dump does not properly deal with BEGIN ATOMIC function
Previous Message Michael Paquier 2023-05-31 21:14:33 Re: Docs: Encourage strong server verification with SCRAM