mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Remove unnecessary xref endterm attributes and title ids
The endterm attribute is mainly useful when the toolchain does not support automatic link target text generation for a particular situation. In the past, this was required by the man page tools for all reference page links, but that is no longer the case, and it now actually gets in the way of proper automatic link text generation. The only remaining use cases are currently xrefs to refsects.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/create_role.sgml,v 1.13 2009/09/19 10:23:26 petere Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/create_role.sgml,v 1.14 2010/04/03 07:22:58 petere Exp $
|
||||
PostgreSQL documentation
|
||||
-->
|
||||
|
||||
<refentry id="SQL-CREATEROLE">
|
||||
<refmeta>
|
||||
<refentrytitle id="sql-createrole-title">CREATE ROLE</refentrytitle>
|
||||
<refentrytitle>CREATE ROLE</refentrytitle>
|
||||
<manvolnum>7</manvolnum>
|
||||
<refmiscinfo>SQL - Language Statements</refmiscinfo>
|
||||
</refmeta>
|
||||
@@ -307,9 +307,9 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
|
||||
<title>Notes</title>
|
||||
|
||||
<para>
|
||||
Use <xref linkend="SQL-ALTERROLE" endterm="SQL-ALTERROLE-title"> to
|
||||
change the attributes of a role, and <xref linkend="SQL-DROPROLE"
|
||||
endterm="SQL-DROPROLE-title"> to remove a role. All the attributes
|
||||
Use <xref linkend="SQL-ALTERROLE"> to
|
||||
change the attributes of a role, and <xref linkend="SQL-DROPROLE">
|
||||
to remove a role. All the attributes
|
||||
specified by <command>CREATE ROLE</> can be modified by later
|
||||
<command>ALTER ROLE</> commands.
|
||||
</para>
|
||||
@@ -317,8 +317,8 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
|
||||
<para>
|
||||
The preferred way to add and remove members of roles that are being
|
||||
used as groups is to use
|
||||
<xref linkend="SQL-GRANT" endterm="SQL-GRANT-title"> and
|
||||
<xref linkend="SQL-REVOKE" endterm="SQL-REVOKE-title">.
|
||||
<xref linkend="SQL-GRANT"> and
|
||||
<xref linkend="SQL-REVOKE">.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@@ -336,7 +336,7 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
|
||||
a member of a role with <literal>CREATEDB</> privilege does not immediately
|
||||
grant the ability to create databases, even if <literal>INHERIT</> is set;
|
||||
it would be necessary to become that role via
|
||||
<xref linkend="SQL-SET-ROLE" endterm="SQL-SET-ROLE-title"> before
|
||||
<xref linkend="SQL-SET-ROLE"> before
|
||||
creating a database.
|
||||
</para>
|
||||
|
||||
@@ -363,7 +363,7 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
|
||||
|
||||
<para>
|
||||
<productname>PostgreSQL</productname> includes a program <xref
|
||||
linkend="APP-CREATEUSER" endterm="APP-CREATEUSER-title"> that has
|
||||
linkend="APP-CREATEUSER"> that has
|
||||
the same functionality as <command>CREATE ROLE</command> (in fact,
|
||||
it calls this command) but can be run from the command shell.
|
||||
</para>
|
||||
@@ -380,9 +380,9 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
|
||||
with this command. The password will be transmitted to the server
|
||||
in cleartext, and it might also be logged in the client's command
|
||||
history or the server log. The command <xref
|
||||
linkend="APP-CREATEUSER" endterm="APP-CREATEUSER-title">, however, transmits
|
||||
the password encrypted. Also, <xref linkend="app-psql"
|
||||
endterm="app-psql-title"> contains a command
|
||||
linkend="APP-CREATEUSER">, however, transmits
|
||||
the password encrypted. Also, <xref linkend="app-psql">
|
||||
contains a command
|
||||
<command>\password</command> that can be used to safely change the
|
||||
password later.
|
||||
</para>
|
||||
@@ -459,11 +459,11 @@ CREATE ROLE <replaceable class="PARAMETER">name</> [ WITH ADMIN <replaceable cla
|
||||
<title>See Also</title>
|
||||
|
||||
<simplelist type="inline">
|
||||
<member><xref linkend="sql-set-role" endterm="sql-set-role-title"></member>
|
||||
<member><xref linkend="sql-alterrole" endterm="sql-alterrole-title"></member>
|
||||
<member><xref linkend="sql-droprole" endterm="sql-droprole-title"></member>
|
||||
<member><xref linkend="sql-grant" endterm="sql-grant-title"></member>
|
||||
<member><xref linkend="sql-revoke" endterm="sql-revoke-title"></member>
|
||||
<member><xref linkend="sql-set-role"></member>
|
||||
<member><xref linkend="sql-alterrole"></member>
|
||||
<member><xref linkend="sql-droprole"></member>
|
||||
<member><xref linkend="sql-grant"></member>
|
||||
<member><xref linkend="sql-revoke"></member>
|
||||
<member><xref linkend="app-createuser"></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
Reference in New Issue
Block a user