Skip to content

Commit 741ccd5

Browse files
committed
Use gender-neutral language in documentation
Based on patch by Thomas Munro <thomas.munro@enterprisedb.com>, although I rephrased most of the initial work.
1 parent 1320077 commit 741ccd5

20 files changed

+57
-58
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9274,7 +9274,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
92749274
<filename>postgresql.conf</filename> without restarting the server.
92759275
They can also be set for a particular session in the connection request
92769276
packet (for example, via <application>libpq</>'s <literal>PGOPTIONS</>
9277-
environment variable); any user can make such a change for his session.
9277+
environment variable); any user can make such a change for their session.
92789278
However, these settings never change in a session after it is started.
92799279
If you change them in <filename>postgresql.conf</filename>, send a
92809280
<systemitem>SIGHUP</systemitem> signal to the postmaster to cause it to
@@ -9303,7 +9303,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
93039303
<para>
93049304
These settings can be set from <filename>postgresql.conf</filename>,
93059305
or within a session via the <command>SET</> command. Any user is
9306-
allowed to change his session-local value. Changes in
9306+
allowed to change their session-local value. Changes in
93079307
<filename>postgresql.conf</filename> will affect existing sessions
93089308
only if no session-local value has been established with <command>SET</>.
93099309
</para>

doc/src/sgml/client-auth.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -690,9 +690,9 @@ local db1,db2,@demodbs all md5
690690
</indexterm>
691691

692692
<para>
693-
When using an external authentication system like Ident or GSSAPI,
693+
When using an external authentication system such as Ident or GSSAPI,
694694
the name of the operating system user that initiated the connection
695-
might not be the same as the database user he needs to connect as.
695+
might not be the same as the database user that is to be connect as.
696696
In this case, a user name map can be applied to map the operating system
697697
user name to a database user. To use user name mapping, specify
698698
<literal>map</literal>=<replaceable>map-name</replaceable>
@@ -1185,7 +1185,7 @@ omicron bryanh guest1
11851185
The drawback of this procedure is that it depends on the integrity
11861186
of the client: if the client machine is untrusted or compromised,
11871187
an attacker could run just about any program on port 113 and
1188-
return any user name he chooses. This authentication method is
1188+
return any user name they choose. This authentication method is
11891189
therefore only appropriate for closed networks where each client
11901190
machine is under tight control and where the database and system
11911191
administrators operate in close contact. In other words, you must

doc/src/sgml/ddl.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,8 +1492,8 @@ REVOKE ALL ON accounts FROM PUBLIC;
14921492
<command>DROP</>, <command>GRANT</>, <command>REVOKE</>, etc.)
14931493
are always implicit in being the owner,
14941494
and cannot be granted or revoked. But the object owner can choose
1495-
to revoke his own ordinary privileges, for example to make a
1496-
table read-only for himself as well as others.
1495+
to revoke their own ordinary privileges, for example to make a
1496+
table read-only for themselves as well as others.
14971497
</para>
14981498

14991499
<para>
@@ -1816,7 +1816,7 @@ UPDATE 1
18161816
example, both <literal>schema1</> and <literal>myschema</> can
18171817
contain tables named <literal>mytable</>. Unlike databases,
18181818
schemas are not rigidly separated: a user can access objects in any
1819-
of the schemas in the database he is connected to, if he has
1819+
of the schemas in the database they are connected to, if they have
18201820
privileges to do so.
18211821
</para>
18221822

doc/src/sgml/manage-ag.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ createdb <replaceable class="parameter">dbname</replaceable>
155155
</note>
156156

157157
<para>
158-
Sometimes you want to create a database for someone else, and have him
159-
become the owner of the new database, so he can
160-
configure and manage it himself. To achieve that, use one of the
158+
Sometimes you want to create a database for someone else, and have them
159+
become the owner of the new database, so they can
160+
configure and manage it themselves. To achieve that, use one of the
161161
following commands:
162162
<programlisting>
163163
CREATE DATABASE <replaceable>dbname</> OWNER <replaceable>rolename</>;

doc/src/sgml/nls.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ msgstr "another translated"
115115
for the translator, such as about expected alignment. The #:
116116
comment indicates the exact location(s) where the message is used
117117
in the source. The translator need not look at the program
118-
source, but he can if there is doubt about the correct
118+
source, but can if there is doubt about the correct
119119
translation. The #, comments contain flags that describe the
120120
message in some way. There are currently two flags:
121121
<literal>fuzzy</literal> is set if the message has possibly been

doc/src/sgml/plpgsql.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3904,7 +3904,7 @@ CREATE FUNCTION emp_stamp() RETURNS trigger AS $emp_stamp$
39043904
RAISE EXCEPTION '% cannot have null salary', NEW.empname;
39053905
END IF;
39063906

3907-
-- Who works for us when she must pay for it?
3907+
-- Who works for us when they must pay for it?
39083908
IF NEW.salary &lt; 0 THEN
39093909
RAISE EXCEPTION '% cannot have a negative salary', NEW.empname;
39103910
END IF;

doc/src/sgml/ref/alter_user_mapping.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ALTER USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable>
3838
<para>
3939
The owner of a foreign server can alter user mappings for that
4040
server for any user. Also, a user can alter a user mapping for
41-
his own user name if <literal>USAGE</> privilege on the server has
41+
their own user name if <literal>USAGE</> privilege on the server has
4242
been granted to the user.
4343
</para>
4444
</refsect1>

doc/src/sgml/ref/create_schema.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ CREATE VIEW hollywood.winners AS
205205
all objects within it. <productname>PostgreSQL</productname>
206206
allows schemas to contain objects owned by users other than the
207207
schema owner. This can happen only if the schema owner grants the
208-
<literal>CREATE</> privilege on his schema to someone else, or a
208+
<literal>CREATE</> privilege on their schema to someone else, or a
209209
superuser chooses to create objects in it.
210210
</para>
211211

doc/src/sgml/ref/create_user_mapping.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CREATE USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable>
4141
<para>
4242
The owner of a foreign server can create user mappings for that
4343
server for any user. Also, a user can create a user mapping for
44-
his own user name if <literal>USAGE</> privilege on the server has
44+
their own user name if <literal>USAGE</> privilege on the server has
4545
been granted to the user.
4646
</para>
4747
</refsect1>

doc/src/sgml/ref/drop_schema.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ DROP SCHEMA [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, .
3535
<para>
3636
A schema can only be dropped by its owner or a superuser. Note that
3737
the owner can drop the schema (and thereby all contained objects)
38-
even if he does not own some of the objects within the schema.
38+
even if they do not own some of the objects within the schema.
3939
</para>
4040
</refsect1>
4141

0 commit comments

Comments
 (0)