System catalog typos

Started by Thom Brownalmost 14 years ago6 messages
#1Thom Brown
thom@linux.com
1 attachment(s)

Hi,

I attach a patch to correct various system catalog/view definitions in the docs.

Regards

Thom

Attachments:

catalog_doc_fixes.patchapplication/octet-stream; name=catalog_doc_fixes.patchDownload
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index dcaeda4..371419e 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -5172,7 +5172,7 @@
      </row>
      <row>
       <entry><structfield>provider</structfield></entry>
-      <entry><type>name</type></entry>
+      <entry><type>text</type></entry>
       <entry></entry>
       <entry>The label provider associated with this label.</entry>
      </row>
@@ -6400,6 +6400,18 @@
        converter to produce a constant.
       </para></entry>
      </row>
+     
+     <row>
+      <entry><structfield>typacl</structfield></entry>
+      <entry><type>aclitem[]</type></entry>
+      <entry></entry>
+      <entry>
+       Access privileges; see
+       <xref linkend="sql-grant"> and
+       <xref linkend="sql-revoke">
+       for details
+      </entry>
+     </row>
     </tbody>
    </tgroup>
   </table>
@@ -8162,6 +8174,16 @@
      </row>
 
      <row>
+      <entry><structfield>userepl</structfield></entry>
+      <entry><type>bool</type></entry>
+      <entry></entry>
+      <entry>
+       User can initiate streaming replication and put the system in and
+       out of backup mode.
+      </entry>
+     </row>
+     
+     <row>
       <entry><structfield>passwd</structfield></entry>
       <entry><type>text</type></entry>
       <entry></entry>
@@ -8596,8 +8618,8 @@
 
      <row>
       <entry><structfield>usesysid</structfield></entry>
-      <entry><type>int4</type></entry>
-      <entry>User ID (arbitrary number used to reference this user)</entry>
+      <entry><type>oid</type></entry>
+      <entry>ID of this user</entry>
      </row>
 
      <row>
@@ -8622,6 +8644,15 @@
      </row>
 
      <row>
+      <entry><structfield>userepl</structfield></entry>
+      <entry><type>bool</type></entry>
+      <entry>
+       User can initiate streaming replication and put the system in and
+       out of backup mode.
+      </entry>
+     </row>
+     
+     <row>
       <entry><structfield>passwd</structfield></entry>
       <entry><type>text</type></entry>
       <entry>Not the password (always reads as <literal>********</>)</entry>
@@ -8692,8 +8723,8 @@
 
      <row>
       <entry><structfield>srvname</structfield></entry>
-      <entry><type>text</type></entry>
-      <entry></entry>
+      <entry><type>name</type></entry>
+      <entry><literal><link linkend="catalog-pg-foreign-server"><structname>pg_foreign_server</structname></link>.srvname</literal></entry>
       <entry>
        Name of the foreign server
       </entry>
#2Thom Brown
thom@linux.com
In reply to: Thom Brown (#1)
1 attachment(s)
Re: System catalog typos

On 5 April 2012 23:22, Thom Brown <thom@linux.com> wrote:

Hi,

I attach a patch to correct various system catalog/view definitions in the docs.

I also found a couple typos in completely different sections. (patch attached)

--
Thom

Attachments:

doc_typo_fixes.patchapplication/octet-stream; name=doc_typo_fixes.patchDownload
diff --git a/doc/src/sgml/ref/pg_receivexlog.sgml b/doc/src/sgml/ref/pg_receivexlog.sgml
index 09ac964..07f6418 100644
--- a/doc/src/sgml/ref/pg_receivexlog.sgml
+++ b/doc/src/sgml/ref/pg_receivexlog.sgml
@@ -254,7 +254,7 @@ PostgreSQL documentation
    <literal>mydbserver</literal> and store it in the local directory
    <filename>/usr/local/pgsql/archive</filename>:
 <screen>
-<prompt>$</prompt> <userinput>pg_receivexlog -h mydbserver -D /home/pgbackup/archive</userinput>
+<prompt>$</prompt> <userinput>pg_receivexlog -h mydbserver -D /usr/local/pgsql/archive</userinput>
 </screen></para>
  </refsect1>
 
diff --git a/doc/src/sgml/reference.sgml b/doc/src/sgml/reference.sgml
index 7326519..bb2e5f9 100644
--- a/doc/src/sgml/reference.sgml
+++ b/doc/src/sgml/reference.sgml
@@ -200,7 +200,7 @@
    </para>
 
    <para>
-    When specified on the command line, user and databases names have
+    When specified on the command line, user and databases name have
     their case preserved &mdash; the presence of spaces or special
     characters might require quoting.  Table names and other identifiers
     do not have their case preserved, except where documented, and
#3Thom Brown
thom@linux.com
In reply to: Thom Brown (#2)
1 attachment(s)
Re: System catalog typos

On 6 April 2012 01:22, Thom Brown <thom@linux.com> wrote:

On 5 April 2012 23:22, Thom Brown <thom@linux.com> wrote:

Hi,

I attach a patch to correct various system catalog/view definitions in the docs.

I also found a couple typos in completely different sections. (patch attached)

Apologies, that last patch had one correction in the wrong place. Reattached.

--
Thom

Attachments:

doc_typo_fixes.patchapplication/octet-stream; name=doc_typo_fixes.patchDownload
diff --git a/doc/src/sgml/ref/pg_receivexlog.sgml b/doc/src/sgml/ref/pg_receivexlog.sgml
index 09ac964..07f6418 100644
--- a/doc/src/sgml/ref/pg_receivexlog.sgml
+++ b/doc/src/sgml/ref/pg_receivexlog.sgml
@@ -254,7 +254,7 @@ PostgreSQL documentation
    <literal>mydbserver</literal> and store it in the local directory
    <filename>/usr/local/pgsql/archive</filename>:
 <screen>
-<prompt>$</prompt> <userinput>pg_receivexlog -h mydbserver -D /home/pgbackup/archive</userinput>
+<prompt>$</prompt> <userinput>pg_receivexlog -h mydbserver -D /usr/local/pgsql/archive</userinput>
 </screen></para>
  </refsect1>
 
diff --git a/doc/src/sgml/reference.sgml b/doc/src/sgml/reference.sgml
index 7326519..f856819 100644
--- a/doc/src/sgml/reference.sgml
+++ b/doc/src/sgml/reference.sgml
@@ -200,7 +200,7 @@
    </para>
 
    <para>
-    When specified on the command line, user and databases names have
+    When specified on the command line, user and database names have
     their case preserved &mdash; the presence of spaces or special
     characters might require quoting.  Table names and other identifiers
     do not have their case preserved, except where documented, and
#4Peter Eisentraut
peter_e@gmx.net
In reply to: Thom Brown (#1)
Re: System catalog typos

On tor, 2012-04-05 at 23:22 +0100, Thom Brown wrote:

I attach a patch to correct various system catalog/view definitions in the docs.

Committed.

#5Peter Eisentraut
peter_e@gmx.net
In reply to: Thom Brown (#3)
Re: System catalog typos

On fre, 2012-04-06 at 01:24 +0100, Thom Brown wrote:

I also found a couple typos in completely different sections. (patch

attached)

Apologies, that last patch had one correction in the wrong place.
Reattached.

Committed.

#6Thom Brown
thom@linux.com
In reply to: Peter Eisentraut (#5)
Re: System catalog typos

On 6 April 2012 21:56, Peter Eisentraut <peter_e@gmx.net> wrote:

On fre, 2012-04-06 at 01:24 +0100, Thom Brown wrote:

I also found a couple typos in completely different sections. (patch

attached)

Apologies, that last patch had one correction in the wrong place.
Reattached.

Committed.

Cheers!

--
Thom