Skip to content

Commit 9b9d433

Browse files
authored
Merge pull request jackc#594 from ferhatelmas/v4-readme
Fix some typos
2 parents be8ed87 + 912b2fc commit 9b9d433

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ proxies, load balancers, logical replication clients, etc.
1212

1313
## v4
1414

15-
This is the `v4` branch. `v4` is in release candate state but is not officially released.
15+
This is the `v4` branch. `v4` is in release candidate state but is not officially released.
1616

1717
## Example Usage
1818

batch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type BatchResults interface {
3636
// QueryRow reads the results from the next query in the batch as if the query has been sent with Conn.QueryRow.
3737
QueryRow() Row
3838

39-
// Close closes the batch operation. Any error that occured during a batch operation may have made it impossible to
39+
// Close closes the batch operation. Any error that occurred during a batch operation may have made it impossible to
4040
// resyncronize the connection with the server. In this case the underlying connection will have been closed.
4141
Close() error
4242
}
@@ -95,7 +95,7 @@ func (br *batchResults) QueryRow() Row {
9595

9696
}
9797

98-
// Close closes the batch operation. Any error that occured during a batch operation may have made it impossible to
98+
// Close closes the batch operation. Any error that occurred during a batch operation may have made it impossible to
9999
// resyncronize the connection with the server. In this case the underlying connection will have been closed.
100100
func (br *batchResults) Close() error {
101101
if br.err != nil {

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ pgx also includes support for custom types implementing the database/sql.Scanner
154154
interfaces.
155155
156156
If pgx does cannot natively encode a type and that type is a renamed type (e.g. type MyTime time.Time) pgx will attempt
157-
to encode the underlying type. While this is usually desired behavior it can produce suprising behavior if one the
157+
to encode the underlying type. While this is usually desired behavior it can produce surprising behavior if one the
158158
underlying type and the renamed type each implement database/sql interfaces and the other implements pgx interfaces. It
159159
is recommended that this situation be avoided by implementing pgx interfaces on the renamed type.
160160

0 commit comments

Comments
 (0)