mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Modify message when partitioned table is added to publication
Give a more specific error message than "xyz is not a table". Also document in CREATE PUBLICATION which kinds of relations are not supported. based on patch by Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
This commit is contained in:
@ -75,6 +75,14 @@ CREATE PUBLICATION <replaceable class="parameter">name</replaceable>
|
||||
Optionally, <literal>*</> can be specified after the table name to
|
||||
explicitly indicate that descendant tables are included.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Only persistent base tables can be part of a publication. Temporary
|
||||
tables, unlogged tables, foreign tables, materialized views, regular
|
||||
views, and partitioned tables cannot be part of a publication. To
|
||||
replicate a partitioned table, add the individual partitions to the
|
||||
publication.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
Reference in New Issue
Block a user