<varlistentry>
<term>
- <function>pg_foreign_connections() returns record</function>
+ <function>postgresql_fdw_connections() returns record</function>
</term>
<listitem>
<para>
- <function>pg_foreign_connections</function> is a function which
+ <function>postgresql_fdw_connections</function> is a function which
returns list of active connections which are estabilshed via
postgresql_fdw. This function was designed as a private function, used
- from pg_foreign_connections view.
+ from postgresql_fdw_connections view.
</para>
</listitem>
</varlistentry>
<variablelist>
<varlistentry>
<term>
- <function>pg_foreign_connections</function>
+ <function>postgresql_fdw_connections</function>
</term>
<listitem>
<para>
- <structname>pg_foreign_connections</structname> is a view which
+ <structname>postgresql_fdw_connections</structname> is a view which
shows active connections which are estabilshed via postgresql_fdw.
</para>
<table>
- <title><structname>pg_foreign_connections</> Columns</title>
+ <title><structname>postgresql_fdw_connections</> Columns</title>
<tgroup cols="4">
<thead>
<entry><structfield>conname</structfield></entry>
<entry><type>name</type></entry>
<entry></entry>
- <entry>Name of the connection, same as srvname in current version</entry>
+ <entry>Name of the connection</entry>
</row>
<row>
<entry><structfield>srvname</structfield></entry>
<entry><type>name</type></entry>
<entry>pg_foreign_server.srvname</entry>
- <entry>Name of the foreign server</entry>
+ <entry>Name of the foreign server used by this connection</entry>
</row>
<row>
<entry><structfield>usename</structfield></entry>
<entry><type>name</type></entry>
<entry>pg_authid.rolname</entry>
- <entry>Name of the user who establish the connection</entry>
+ <entry>Name of the user being mapped, or <literal>PUBLIC</literal> if
+ the mapping is public</entry>
</row>
</tbody>