From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Jeevan Ladhe <jeevanladhe(dot)os(at)gmail(dot)com> |
Subject: | Re: doc: CREATE FOREIGN TABLE .. PARTITION OF .. DEFAULT |
Date: | 2022-05-25 12:44:23 |
Message-ID: | CA+Tgmobxt-mdSogDQ5QhSot9TjCTBnYZbVZF7qPgpqO1C44LBg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, May 21, 2022 at 9:09 AM Justin Pryzby <pryzby(at)telsasoft(dot)com> wrote:
> It looks like the docs weren't updated in 6f6b99d13 for v11.
In my defense, that commit definitely contained documentation changes.
It updated alter_table.sgml and create_table.sgml. I guess we missed
create_foreign_table.sgml, though.
> The docs also seem to omit "FOR VALUES" literal.
> And don't define partition_bound_spec (which I didn't fix here).
>
> diff --git a/doc/src/sgml/ref/create_foreign_table.sgml b/doc/src/sgml/ref/create_foreign_table.sgml
> index b374d8645db..1f1c4a52a2a 100644
> --- a/doc/src/sgml/ref/create_foreign_table.sgml
> +++ b/doc/src/sgml/ref/create_foreign_table.sgml
> @@ -35,7 +35,8 @@ CREATE FOREIGN TABLE [ IF NOT EXISTS ] <replaceable class="parameter">table_name
> { <replaceable class="parameter">column_name</replaceable> [ WITH OPTIONS ] [ <replaceable class="parameter">column_constraint</replaceable> [ ... ] ]
> | <replaceable>table_constraint</replaceable> }
> [, ... ]
> -) ] <replaceable class="parameter">partition_bound_spec</replaceable>
> +) ]
> + { FOR VALUES <replaceable class="parameter">partition_bound_spec</replaceable> | DEFAULT }
> SERVER <replaceable class="parameter">server_name</replaceable>
> [ OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] ) ]
OK, makes sense. I guess we need to copy over the definition of
partition_bound_spec from create_table.sgml here as well.
--
Robert Haas
EDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2022-05-25 13:24:33 | Re: Build-farm - intermittent error in 031_column_list.pl |
Previous Message | David Rowley | 2022-05-25 12:35:27 | Re: PG15 beta1 sort performance regression due to Generation context change |