Skip to content

Commit 1e5eebb

Browse files
authored
docs: fixed some errors
1 parent 6d55660 commit 1e5eebb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/pgtap.mmd

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3113,8 +3113,8 @@ substitute will be created.
31133113

31143114
This function ensures that the table marked as "ancestor" is not a table from
31153115
which "descendent" inherits --- that there is no inheritance chain between the
3116-
two tables. If the optional depth argument is passed, the test enbsures only
3117-
that the two tablesa are not related at that distance; they still might be an
3116+
two tables. If the optional depth argument is passed, the test ensures only
3117+
that the two tables are not related at that distance; they still might be an
31183118
inheritance relationship between them. If the `:description` is omitted, a
31193119
reasonable substitute will be created.
31203120

@@ -3574,7 +3574,7 @@ incorrect, the diagnostics will look more like this:
35743574
# want: "idx_baz" ON public.sometab(lower(lname))
35753575

35763576
Note that unlike most other column parameter arguments in pgTAP, mixed-case
3577-
column mames crated with double-quotes must be double-quoted when passed
3577+
column names crated with double-quotes must be double-quoted when passed
35783578
to `has_index()`, like so:
35793579

35803580
SELECT has_index(
@@ -4602,7 +4602,7 @@ used to be represented as functions:
46024602
SELECT col_default_is( 'widgets', 'created_by', '"current_user"()' );
46034603

46044604
As of PostgreSQL 10, they comply with the SQL spec to appear in uppercase
4605-
and without trailining parentheses:
4605+
and without trailing parentheses:
46064606

46074607
SELECT col_default_is( 'widgets', 'created_by', 'CURRENT_USER' );
46084608

@@ -5304,7 +5304,7 @@ doesn't require an index name and does require one or more column names or
53045304
expressions in the defined for the index.
53055305

53065306
Note that unlike most other column parameter arguments in pgTAP, mixed-case
5307-
column mames crated with double-quotes must be double-quoted when passed
5307+
column names crated with double-quotes must be double-quoted when passed
53085308
to `is_indexed()`, like so:
53095309

53105310
SELECT is_indexed( 'widgets', '"Name"' );
@@ -5533,7 +5533,7 @@ But then you check with `has_function()` first, right?
55335533
: Schema in which to find the function.
55345534

55355535
`:function`
5536-
: Function or proceudure name.
5536+
: Function or procedure name.
55375537

55385538
`:args`
55395539
: Array of data types for the function arguments.
@@ -5578,7 +5578,7 @@ But then you check with `has_function()` first, right?
55785578
: Schema in which to find the function.
55795579

55805580
`:function`
5581-
: Function or proceure name.
5581+
: Function or procedure name.
55825582

55835583
`:args`
55845584
: Array of data types for the function arguments.
@@ -7180,7 +7180,7 @@ created. Examples:
71807180

71817181
SELECT database_privs_are(
71827182
'flipr', 'fred', ARRAY['CONNECT', 'TEMPORARY'],
7183-
'Fred should be granted CONNECT and TERMPORARY on db "flipr"'
7183+
'Fred should be granted CONNECT and TEMPORARY on db "flipr"'
71847184
);
71857185
SELECT database_privs_are( 'dept_corrections', ARRAY['CREATE'] );
71867186

0 commit comments

Comments
 (0)