diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2017-04-20 14:18:33 -0400 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2017-04-20 14:18:33 -0400 |
| commit | 594b526bcf32e307b963ea77f10c9720d9ca423f (patch) | |
| tree | a041056101ab5188323d4df292431eda3abfd5fc /doc/src | |
| parent | 3a66581dd12b4108ce22fb4dad38258df39cb685 (diff) | |
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>
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/ref/create_publication.sgml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/create_publication.sgml b/doc/src/sgml/ref/create_publication.sgml index 0369b579c5c..521376ef4ba 100644 --- a/doc/src/sgml/ref/create_publication.sgml +++ b/doc/src/sgml/ref/create_publication.sgml @@ -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> |
