Re: create table like including storage parameter - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: create table like including storage parameter
Date
Msg-id a3c6ccf6-3c53-47ab-ad33-fb726a6f1850@app.fastmail.com
Whole thread Raw
In response to Re: create table like including storage parameter  (jian he <jian.universality@gmail.com>)
Responses Re: create table like including storage parameter
List pgsql-hackers
On Mon, Dec 15, 2025, at 5:48 AM, jian he wrote:
> rebased, with minor comment polishing.
>

I started reviewing this patch. Why don't you reuse untransformRelOptions()?
Even if this function is used by various extensions [1][2], that's not an
excuse to duplicate code. I adjusted the code in the fixup. I did a bunch of
stylish changes and fixed a few typos. I also ran pgindent. I removed some
superfluous comments ("Fetch heap tuple", "Get the toast reloptions",). Don't
think they are saying something important. Coverage looks good. As a homework,
add a nice commit message. Showing how it works is not a good commit message.

This v6 is your v5 plus my suggestions.

[1] https://codesearch.debian.net/search?q=untransformRelOptions&literal=1
[2] https://github.com/search?q=untransformRelOptions&type=code


-- 
Euler Taveira
EDB   https://www.enterprisedb.com/
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: relfilenode statistics
Next
From: vignesh C
Date:
Subject: pg_dump crash due to incomplete ordering of DO_SUBSCRIPTION_REL objects