]> begriffs open source - ai-pg/blob - full-docs/src/sgml/html/catalog-pg-publication-rel.html
WIP: toc builder
[ai-pg] / full-docs / src / sgml / html / catalog-pg-publication-rel.html
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>52.42. pg_publication_rel</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="catalog-pg-publication-namespace.html" title="52.41. pg_publication_namespace" /><link rel="next" href="catalog-pg-range.html" title="52.43. pg_range" /></head><body id="docContent" class="container-fluid col-10"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">52.42. <code class="structname">pg_publication_rel</code></th></tr><tr><td width="10%" align="left"><a accesskey="p" href="catalog-pg-publication-namespace.html" title="52.41. pg_publication_namespace">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="Chapter 52. System Catalogs">Up</a></td><th width="60%" align="center">Chapter 52. System Catalogs</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 18.0 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="catalog-pg-range.html" title="52.43. pg_range">Next</a></td></tr></table><hr /></div><div class="sect1" id="CATALOG-PG-PUBLICATION-REL"><div class="titlepage"><div><div><h2 class="title" style="clear: both">52.42. <code class="structname">pg_publication_rel</code> <a href="#CATALOG-PG-PUBLICATION-REL" class="id_link">#</a></h2></div></div></div><a id="id-1.10.4.44.2" class="indexterm"></a><p>
3    The catalog <code class="structname">pg_publication_rel</code> contains the
4    mapping between relations and publications in the database.  This is a
5    many-to-many mapping.  See also <a class="xref" href="view-pg-publication-tables.html" title="53.18. pg_publication_tables">Section 53.18</a>
6    for a more user-friendly view of this information.
7   </p><div class="table" id="id-1.10.4.44.4"><p class="title"><strong>Table 52.42. <code class="structname">pg_publication_rel</code> Columns</strong></p><div class="table-contents"><table class="table" summary="pg_publication_rel Columns" border="1"><colgroup><col /></colgroup><thead><tr><th class="catalog_table_entry"><p class="column_definition">
8        Column Type
9       </p>
10       <p>
11        Description
12       </p></th></tr></thead><tbody><tr><td class="catalog_table_entry"><p class="column_definition">
13        <code class="structfield">oid</code> <code class="type">oid</code>
14       </p>
15       <p>
16        Row identifier
17       </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
18        <code class="structfield">prpubid</code> <code class="type">oid</code>
19        (references <a class="link" href="catalog-pg-publication.html" title="52.40. pg_publication"><code class="structname">pg_publication</code></a>.<code class="structfield">oid</code>)
20       </p>
21       <p>
22        Reference to publication
23       </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
24        <code class="structfield">prrelid</code> <code class="type">oid</code>
25        (references <a class="link" href="catalog-pg-class.html" title="52.11. pg_class"><code class="structname">pg_class</code></a>.<code class="structfield">oid</code>)
26       </p>
27       <p>
28        Reference to relation
29       </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
30       <code class="structfield">prqual</code> <code class="type">pg_node_tree</code>
31       </p>
32       <p>Expression tree (in <code class="function">nodeToString()</code>
33       representation) for the relation's publication qualifying condition. Null
34       if there is no publication qualifying condition.</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
35        <code class="structfield">prattrs</code> <code class="type">int2vector</code>
36        (references <a class="link" href="catalog-pg-attribute.html" title="52.7. pg_attribute"><code class="structname">pg_attribute</code></a>.<code class="structfield">attnum</code>)
37       </p>
38       <p>
39        This is an array of values that indicates which table columns are
40        part of the publication.  For example, a value of <code class="literal">1 3</code>
41        would mean that the first and the third table columns are published.
42        A null value indicates that all columns are published.
43       </p></td></tr></tbody></table></div></div><br class="table-break" /></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="catalog-pg-publication-namespace.html" title="52.41. pg_publication_namespace">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="catalogs.html" title="Chapter 52. System Catalogs">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="catalog-pg-range.html" title="52.43. pg_range">Next</a></td></tr><tr><td width="40%" align="left" valign="top">52.41. <code class="structname">pg_publication_namespace</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 18.0 Documentation">Home</a></td><td width="40%" align="right" valign="top"> 52.43. <code class="structname">pg_range</code></td></tr></table></div></body></html>