Skip to content

Commit 90c8417

Browse files
author
James William Pye
committed
Fix english.
1 parent 16082b8 commit 90c8417

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

postgresql/documentation/driver.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,8 +1645,8 @@ object relationship model provides a common protocol for controlling message
16451645
propagation and, ultimately, display.
16461646

16471647
The ``msghook`` attribute on elements is absent by default. However, when
1648-
present on an object--explicitly set--that contributed the cause of a message
1649-
event, it will be invoked with the Message, `postgresql.api.Message`, object as
1648+
present on an object that contributed the cause of a message event, it will
1649+
be invoked with the Message, `postgresql.api.Message`, object as
16501650
its sole parameter. The attribute of the object that is closest to the event is
16511651
checked first, if present it will be called. If the ``msghook()`` call returns
16521652
a `True` value(specficially, ``bool(x) is True``), the message will not be

postgresql/documentation/gotchas.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ given user. In order to highlight those potential issues and hopefully bring
66
some sense into a confusing situation, this document was drawn.
77

88

9-
client_encoding setting should be altered carefully
10-
---------------------------------------------------
9+
`client_encoding` setting should be altered carefully
10+
-----------------------------------------------------
1111

1212
`postgresql.driver`'s streaming cursor implementation reads a fixed set of rows
1313
when it queries the server for more. In order to optimize some situations, the
@@ -22,7 +22,7 @@ Furthermore, it is probably best to never change the `client_encoding` as the
2222
driver automatically makes the necessary transformation to Python strings.
2323

2424

25-
The user and password is correct, but does it not work when using `postgresql.driver`
25+
The user and password is correct, but it does not work when using `postgresql.driver`
2626
-------------------------------------------------------------------------------------
2727

2828
This issue likely comes from the possibility that the information sent to the

0 commit comments

Comments
 (0)