Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit240e4c9

Browse files
committed
New scripts for create/drop user/db from Peter Eisentraut
1 parent21b6914 commit240e4c9

33 files changed

+1283
-2078
lines changed

‎doc/src/sgml/Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.10 1999/08/08 04:18:29 thomas Exp $
11+
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.11 1999/12/04 04:53:14 momjian Exp $
1212
#
1313
#----------------------------------------------------------------------------
1414

@@ -67,10 +67,11 @@ vpath %.sgml ./ref
6767

6868
MANSOURCES=$(wildcard ref/*.sgml)
6969

70-
APPLICATIONS= createdb.sgml createuser.sgml\
71-
createlang.sgml\
72-
destroydb.sgml destroyuser.sgml\
73-
destroylang.sgml\
70+
APPLICATIONS=\
71+
createdb.sgml
72+
createuser.sgml \
73+
dropdb.sgml
74+
dropuser.sgml \
7475
initdb.sgml initlocation.sgml \
7576
ipcclean.sgml \
7677
pg_dump.sgml \

‎doc/src/sgml/docguide.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v 1.22 1999/10/09 02:29:15 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v 1.23 1999/12/04 04:53:14 momjian Exp $
33
Documentation Guide
44
Thomas Lockhart
55

@@ -503,8 +503,8 @@ Status
503503
<row><entry> ./doc/src/sgml/ref/createuser.sgml</entry><entry>New for v6.4</entry></row>
504504
<row><entry> ./doc/src/sgml/ref/declare.sgml</entry><entry>New for v6.4</entry></row>
505505
<row><entry> ./doc/src/sgml/ref/delete.sgml</entry><entry>New for v6.4</entry></row>
506-
<row><entry> ./doc/src/sgml/ref/destroydb.sgml</entry><entry>New forv6.4</entry></row>
507-
<row><entry> ./doc/src/sgml/ref/destroyuser.sgml</entry><entry>New forv6.4</entry></row>
506+
<row><entry> ./doc/src/sgml/ref/dropdb.sgml</entry><entry>Renamed forv7.0</entry></row>
507+
<row><entry> ./doc/src/sgml/ref/dropuser.sgml</entry><entry>Renamed forv7.0</entry></row>
508508
<row><entry> ./doc/src/sgml/ref/drop_aggregate.sgml</entry><entry>New for v6.4</entry></row>
509509
<row><entry> ./doc/src/sgml/ref/drop_database.sgml</entry><entry>New for v6.4</entry></row>
510510
<row><entry> ./doc/src/sgml/ref/drop_function.sgml</entry><entry>New for v6.4</entry></row>

‎doc/src/sgml/ref/allfiles.sgml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.12 1999/10/01 15:24:09 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.13 1999/12/04 04:53:15 momjian Exp $
33
Postgres documentation
44
Complete list of usable sgml source files in this directory.
55
-->
@@ -100,11 +100,9 @@ Complete list of usable sgml source files in this directory.
100100

101101
<!-- these are in the "utilities" reference chapter -->
102102
<!entity createdb system "createdb.sgml">
103-
<!entity createlang system "createlang.sgml">
104103
<!entity createuser system "createuser.sgml">
105-
<!entity destroydb system "destroydb.sgml">
106-
<!entity destroylang system "destroylang.sgml">
107-
<!entity destroyuser system "destroyuser.sgml">
104+
<!entity dropdb system "dropdb.sgml">
105+
<!entity dropuser system "dropuser.sgml">
108106
<!entity ecpgRef system "ecpg-ref.sgml">
109107
<!entity initdb system "initdb.sgml">
110108
<!entity initlocation system "initlocation.sgml">

‎doc/src/sgml/ref/commands.sgml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/commands.sgml,v 1.19 1999/10/01 15:24:09 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/commands.sgml,v 1.20 1999/12/04 04:53:15 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -107,11 +107,9 @@ functions supported by <productname>Postgres</productname>.
107107
</abstract>
108108

109109
&createdb;
110-
&createlang;
111110
&createuser;
112-
&destroydb;
113-
&destroylang;
114-
&destroyuser;
111+
&dropdb;
112+
&dropuser;
115113
&ecpgRef;
116114
&pgAccess;
117115
&pgAdmin;

‎doc/src/sgml/ref/create_database.sgml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.9 1999/07/22 15:09:07 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.10 1999/12/04 04:53:15 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -68,7 +68,7 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable> [ WITH LOCATIO
6868
<variablelist>
6969
<varlistentry>
7070
<term><computeroutput>
71-
CREATEDB
71+
CREATE DATABASE
7272
</computeroutput></term>
7373
<listitem>
7474
<para>
@@ -184,16 +184,15 @@ comment from Olly; response from Thomas...
184184
<computeroutput>Creating Postgres database system directory /home/olly/private_db/base</computeroutput>
185185

186186
<prompt>$</prompt> <userinput>psql olly</userinput>
187-
<computeroutput>Welcome to the POSTGRESQL interactive sql monitor:
188-
Please read the file COPYRIGHT for copyright terms of POSTGRESQL
189-
190-
type \? for help on slash commands
191-
type \q to quit
192-
type \g or terminate with semicolon to execute query
193-
You are currently connected to the database: template1
194-
187+
<computeroutput>Welcome to psql, the PostgreSQL interactive terminal.
188+
(Please type \copyright to see the distribution terms of PostgreSQL.)
189+
190+
Type \h for help with SQL commands,
191+
\? for help on internal slash commands,
192+
\q to quit,
193+
\g or terminate with semicolon to execute query.
195194
<prompt>olly=></prompt></computeroutput> <userinput>create database elsewhere with location = '/home/olly/private_db';</userinput>
196-
<computeroutput>CREATEDB</computeroutput>
195+
<computeroutput>CREATE DATABASE</computeroutput>
197196
</programlisting>
198197
</para>
199198
</refsect1>

‎doc/src/sgml/ref/create_user.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_user.sgml,v 1.10 1999/11/30 03:57:23 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_user.sgml,v 1.11 1999/12/04 04:53:15 momjian Exp $
33
Postgres documentation
44
-->
55

66
<refentry id="SQL-CREATEUSER">
77
<refmeta>
8-
<refentrytitle>
8+
<refentrytitle id="sql-createuser-title">
99
CREATE USER
1010
</refentrytitle>
1111
<refmiscinfo>SQL - Language Statements</refmiscinfo>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp