Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhatelmas committed Sep 4, 2019
1 parent be8ed87 commit 912b2fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -12,7 +12,7 @@ proxies, load balancers, logical replication clients, etc.

## v4

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

## Example Usage

Expand Down
4 changes: 2 additions & 2 deletions batch.go
Expand Up @@ -36,7 +36,7 @@ type BatchResults interface {
// QueryRow reads the results from the next query in the batch as if the query has been sent with Conn.QueryRow.
QueryRow() Row

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

}

// Close closes the batch operation. Any error that occured during a batch operation may have made it impossible to
// Close closes the batch operation. Any error that occurred during a batch operation may have made it impossible to
// resyncronize the connection with the server. In this case the underlying connection will have been closed.
func (br *batchResults) Close() error {
if br.err != nil {
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Expand Up @@ -154,7 +154,7 @@ pgx also includes support for custom types implementing the database/sql.Scanner
interfaces.
If pgx does cannot natively encode a type and that type is a renamed type (e.g. type MyTime time.Time) pgx will attempt
to encode the underlying type. While this is usually desired behavior it can produce suprising behavior if one the
to encode the underlying type. While this is usually desired behavior it can produce surprising behavior if one the
underlying type and the renamed type each implement database/sql interfaces and the other implements pgx interfaces. It
is recommended that this situation be avoided by implementing pgx interfaces on the renamed type.
Expand Down

0 comments on commit 912b2fc

Please sign in to comment.