Re: doc: create table improvements

jian he <jian.universality@gmail.com>

From: jian he <jian.universality@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: "David G. Johnston" <david.g.johnston@gmail.com>, Peter Eisentraut <peter@eisentraut.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-16T03:28:43Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Doc: declutter CREATE TABLE synopsis.

  2. Remove support for unlogged on partitioned tables

hi.

-<phrase>where <replaceable
class="parameter">column_constraint</replaceable> is:</phrase>
+<phrase>where <replaceable>persistence_mode</replaceable> is: </phrase>
+
+[ GLOBAL | LOCAL ] { TEMPORARY | TEMP } |
+UNLOGGED

we can just do it with one line:
[ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED

most of the time, the patch using:
<replaceable>persistence_mode</replaceable>
<replaceable>oversize_storage</replaceable>

for column_constraint we are using
<replaceable class="parameter">column_constraint</replaceable>

do we need change it to
<replaceable class="parameter">persistence_mode</replaceable>
<replaceable class="parameter">oversize_storage</replaceable>
?

I don't know the purpose of this extra ``"class="parameter"``.