⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alter_user.sgml

📁 postgresql8.3.4源码,开源数据库
💻 SGML
字号:
<!--$PostgreSQL: pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.44 2007/09/03 18:46:29 tgl Exp $PostgreSQL documentation--><refentry id="SQL-ALTERUSER"> <refmeta>  <refentrytitle id="sql-alteruser-title">ALTER USER</refentrytitle>  <refmiscinfo>SQL - Language Statements</refmiscinfo> </refmeta> <refnamediv>  <refname>ALTER USER</refname>  <refpurpose>change a database role</refpurpose> </refnamediv> <indexterm zone="sql-alteruser">  <primary>ALTER USER</primary> </indexterm> <refsynopsisdiv><synopsis>ALTER USER <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ]where <replaceable class="PARAMETER">option</replaceable> can be:          SUPERUSER | NOSUPERUSER    | CREATEDB | NOCREATEDB    | CREATEROLE | NOCREATEROLE    | CREATEUSER | NOCREATEUSER    | INHERIT | NOINHERIT    | LOGIN | NOLOGIN    | CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable>    | [ ENCRYPTED | UNENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>'    | VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>' ALTER USER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>newname</replaceable>ALTER USER <replaceable class="PARAMETER">name</replaceable> SET <replaceable>configuration_parameter</replaceable> { TO | = } { <replaceable>value</replaceable> | DEFAULT }ALTER USER <replaceable class="PARAMETER">name</replaceable> SET <replaceable>configuration_parameter</replaceable> FROM CURRENTALTER USER <replaceable class="PARAMETER">name</replaceable> RESET <replaceable>configuration_parameter</replaceable>ALTER USER <replaceable class="PARAMETER">name</replaceable> RESET ALL</synopsis> </refsynopsisdiv> <refsect1>  <title>Description</title>  <para>   <command>ALTER USER</command> is now an alias for   <xref linkend="sql-alterrole" endterm="sql-alterrole-title">.  </para> </refsect1> <refsect1>  <title>Compatibility</title>      <para>   The <command>ALTER USER</command> statement is a   <productname>PostgreSQL</productname> extension.  The SQL standard   leaves the definition of users to the implementation.  </para> </refsect1> <refsect1>  <title>See Also</title>  <simplelist type="inline">   <member><xref linkend="sql-alterrole" endterm="sql-alterrole-title"></member>  </simplelist> </refsect1></refentry>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -