52.39. pg\_publication

|  52.39. `pg_publication`   |                   |                           |                  |                                        |
|:--------------------------:|-------------------|---------------------------|------------------|----------------------------------------|
|[Prev](catalog-pg-proc.html)|[Up](catalogs.html)|Chapter 52. System Catalogs|[Home](index.html)| [Next](catalog-pg-publication-rel.html)|

---

## 52.39. `pg_publication`

[]()

 The catalog `pg_publication` contains all publications created in the database. For more on publications see [Section 31.1](logical-replication-publication.html).

**Table 52.39. `pg_publication` Columns**

|                                                                                   Column Type<br/><br/> Description                                                                                   |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                 `oid` `oid`<br/><br/> Row identifier                                                                                  |
|                                                                          `pubname` `name`<br/><br/> Name of the publication                                                                           |
|                                             `pubowner` `oid` (references [`pg_authid`](catalog-pg-authid.html).`oid`)<br/><br/> Owner of the publication                                              |
|                    `puballtables` `bool`<br/><br/> If true, this publication automatically includes all tables in the database, including any that will be created in the future.                     |
|                                       `pubinsert` `bool`<br/><br/> If true, [INSERT](sql-insert.html) operations are replicated for tables in the publication.                                        |
|                                       `pubupdate` `bool`<br/><br/> If true, [UPDATE](sql-update.html) operations are replicated for tables in the publication.                                        |
|                                       `pubdelete` `bool`<br/><br/> If true, [DELETE](sql-delete.html) operations are replicated for tables in the publication.                                        |
|                                    `pubtruncate` `bool`<br/><br/> If true, [TRUNCATE](sql-truncate.html) operations are replicated for tables in the publication.                                     |
|`pubviaroot` `bool`<br/><br/> If true, operations on a leaf partition are replicated using the identity and schema of its topmost partitioned ancestor mentioned in the publication instead of its own.|

---

|[Prev](catalog-pg-proc.html)|[Up](catalogs.html)| [Next](catalog-pg-publication-rel.html)|
|:---------------------------|:-----------------:|---------------------------------------:|
|      52.38. `pg_proc`      |[Home](index.html) |       52.40. `pg_publication_rel`      |

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>