Re: Partitioned tables and [un]loggedness - Mailing list pgsql-hackers

From Shinya Kato
Subject Re: Partitioned tables and [un]loggedness
Date
Msg-id CAOzEurS=3xu8WV6KRmc-axLn5tUs_5Ggy0DY_Gj8XcFOJTDeWQ@mail.gmail.com
Whole thread Raw
In response to Re: Partitioned tables and [un]loggedness  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Partitioned tables and [un]loggedness
List pgsql-hackers
On Thu, Jun 5, 2025 at 9:23 AM Michael Paquier <michael@paquier.xyz> wrote:
> Agreed to not suggest the PARTITION BY clause in the tab completion as
> it is not supported by the backend for unlogged tables.
> tab-complete.in.c has some handling for CREATE UNLOGGED TABLE around
> line 3667, so we could just have an extra case for it, like in the
> attached patch.  A split already exists for temporary tables to handle
> the ON COMMIT clause after the attribute list.
>
> Thoughts?

Thank you. It looks good to me.

--
Best regards,
Shinya Kato
NTT OSS Center



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Improve explicit cursor handling in pg_stat_statements
Next
From: Yugo Nagata
Date:
Subject: psql: tab-completion support for COPY ... TO/FROM STDIN, STDOUT, and PROGRAM