Re: create table like including storage parameter

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: create table like including storage parameter
Дата
Msg-id a3c6ccf6-3c53-47ab-ad33-fb726a6f1850@app.fastmail.com
обсуждение исходный текст
Ответ на Re: create table like including storage parameter  (jian he <jian.universality@gmail.com>)
Ответы Re: create table like including storage parameter
Список 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/
Вложения

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