Skip to content
Permalink
Browse files

docs: Fix typos in docs detected by codespell (#1361)

And fix two more typos that I noticed
  • Loading branch information...
TysonAndre authored and davecramer committed Dec 2, 2018
1 parent 2c0f692 commit 5b0c05fb608619ec91afb5e2d2223c3fe1df207d
@@ -13,7 +13,7 @@ version: 42.0.0
- Add support for PreparedStatement.setCharacterStream(int, Reader). [ee4c4265](https://github.com/pgjdbc/pgjdbc/commit/ee4c4265aebc1c73a1d1fabac5ba259d1fbfd1e4)

### Changed
- Version bumped to 42.0.0 to avoid version clash with PostgreSQL version and follow a better sematic versioning. [46634923](https://github.com/pgjdbc/pgjdbc/commit/466349236622c6b03bb9cd8d7f517c3ce0586751)
- Version bumped to 42.0.0 to avoid version clash with PostgreSQL version and follow a better semantic versioning. [46634923](https://github.com/pgjdbc/pgjdbc/commit/466349236622c6b03bb9cd8d7f517c3ce0586751)
- Ensure executeBatch() can be used with pgbouncer. Previously pgjdbc could use server-prepared statements for batch execution even with prepareThreshold=0. [Issue 742](https://github.com/pgjdbc/pgjdbc/issues/742)
- Error position is displayed when SQL has unterminated literals, comments, etc. [Issue 688](https://github.com/pgjdbc/pgjdbc/issues/688)
- Strict handling of accepted values in getBoolean and setObject(BOOLEAN), now it follows PostgreSQL accepted values, only 1 and 0 for numeric types are acepted (previusly !=0 was true). [PR 732](https://github.com/pgjdbc/pgjdbc/pull/732)
@@ -22,7 +22,7 @@ version: 42.2.0

### Changed
- Improve behaviour of ResultSet.getObject(int, Class). [PR 932](https://github.com/pgjdbc/pgjdbc/pull/932)
- Parse CommandComplete message using a regular expresion, allows complete catch of server returned commands for INSERT, UPDATE, DELETE, SELECT, FETCH, MOVE, COPY and future commands. [PR 962](https://github.com/pgjdbc/pgjdbc/pull/962)
- Parse CommandComplete message using a regular expression, allows complete catch of server returned commands for INSERT, UPDATE, DELETE, SELECT, FETCH, MOVE, COPY and future commands. [PR 962](https://github.com/pgjdbc/pgjdbc/pull/962)
- Use 'time with timezone' and 'timestamp with timezone' as is and ignore the user provided Calendars, 'time' and 'timestamp' work as earlier except "00:00:00" now maps to 1970-01-01 and "24:00:00" uses the system provided Calendar ignoring the user-provided one [PR 1053](https://github.com/pgjdbc/pgjdbc/pull/1053)
- Change behaviour of multihost connection. The new behaviour is to try all secondaries first before trying the master [PR 844](https://github.com/pgjdbc/pgjdbc/pull/844).
- Avoid reflective access to TimeZone.defaultTimeZone in Java 9+ [PR 1002](https://github.com/pgjdbc/pgjdbc/pull/1002) fixes [Issue 986](https://github.com/pgjdbc/pgjdbc/issues/986)
@@ -10,7 +10,7 @@ next: ext.html
---

The JDBC specification defines functions with an escape call syntax : `{fn function_name(arguments)}`.
The following tables show which functions are supported by the PostgresSQL™ driver.
The following tables show which functions are supported by the PostgreSQL™ driver.
The driver supports the nesting and the mixing of escaped functions and escaped
values. The appendix C of the JDBC specification describes the functions.

@@ -12,7 +12,7 @@ next: largeobjects.html
PostgreSQL™ has a set of data types that can store geometric features into a
table. These include single points, lines, and polygons. We support these types
in Java with the org.postgresql.geometric package. Please consult the Javadoc
for the details of available classes and features metioned in [Chapter 12, *Further Reading*](reading.html).
for the details of available classes and features mentioned in [Chapter 12, *Further Reading*](reading.html).

<a name="geometric-circle-example"></a>
**Example 9.1. Using the CIRCLE datatype JDBC**
@@ -23,7 +23,7 @@ Configuring the PostgreSQL™ server for SSL is covered in the [main
documentation](http://www.postgresql.org/docs/current/static/ssl-tcp.html),
so it will not be repeated here. Before trying to access your SSL enabled
server from Java, make sure you can get to it via **psql**. You should
see output like the following if you have established a SSL connnection.
see output like the following if you have established a SSL connection.

`$ ./bin/psql -h localhost`
`Welcome to psql 8.0.0rc5, the PostgreSQL interactive terminal.`
@@ -14,7 +14,7 @@ next: load.html

* [Importing JDBC](use.html#import)
* [Loading the Driver](load.html)
* [Connecting to the Databas](connect.html)
* [Connecting to the Database](connect.html)
* [Connection Parameters](connect.html#connection-parameters)

This section describes how to load and initialize the JDBC driver in your programs.
@@ -10,7 +10,7 @@ next: ext.html
---

The JDBC specification defines functions with an escape call syntax : `{fn function_name(arguments)}`.
The following tables show which functions are supported by the PostgresSQL™ driver.
The following tables show which functions are supported by the PostgreSQL™ driver.
The driver supports the nesting and the mixing of escaped functions and escaped
values. The appendix C of the JDBC specification describes the functions.

@@ -12,7 +12,7 @@ next: largeobjects.html
PostgreSQL™ has a set of data types that can store geometric features into a
table. These include single points, lines, and polygons. We support these types
in Java with the org.postgresql.geometric package. Please consult the Javadoc
for the details of available classes and features metioned in [Chapter 12, *Further Reading*](reading.html).
for the details of available classes and features mentioned in [Chapter 12, *Further Reading*](reading.html).

<a name="geometric-circle-example"></a>
**Example 9.1. Using the CIRCLE datatype JDBC**
@@ -23,7 +23,7 @@ Configuring the PostgreSQL™ server for SSL is covered in the [main
documentation](http://www.postgresql.org/docs/current/static/ssl-tcp.html),
so it will not be repeated here. Before trying to access your SSL enabled
server from Java, make sure you can get to it via **psql**. You should
see output like the following if you have established a SSL connnection.
see output like the following if you have established a SSL connection.

`$ ./bin/psql -h localhost`
`Welcome to psql 8.0.0rc5, the PostgreSQL interactive terminal.`
@@ -14,7 +14,7 @@ next: load.html

* [Importing JDBC](use.html#import)
* [Loading the Driver](load.html)
* [Connecting to the Databas](connect.html)
* [Connecting to the Database](connect.html)
* [Connection Parameters](connect.html#connection-parameters)

This section describes how to load and initialize the JDBC driver in your programs.
@@ -10,7 +10,7 @@ next: ext.html
---

The JDBC specification defines functions with an escape call syntax : `{fn function_name(arguments)}`.
The following tables show which functions are supported by the PostgresSQL™ driver.
The following tables show which functions are supported by the PostgreSQL™ driver.
The driver supports the nesting and the mixing of escaped functions and escaped
values. The appendix C of the JDBC specification describes the functions.

@@ -12,7 +12,7 @@ next: largeobjects.html
PostgreSQL™ has a set of data types that can store geometric features into a
table. These include single points, lines, and polygons. We support these types
in Java with the org.postgresql.geometric package. Please consult the Javadoc
for the details of available classes and features metioned in [Chapter 12, *Further Reading*](reading.html).
for the details of available classes and features mentioned in [Chapter 12, *Further Reading*](reading.html).

<a name="geometric-circle-example"></a>
**Example 9.1. Using the CIRCLE datatype JDBC**
@@ -23,7 +23,7 @@ Configuring the PostgreSQL™ server for SSL is covered in the [main
documentation](http://www.postgresql.org/docs/current/static/ssl-tcp.html),
so it will not be repeated here. Before trying to access your SSL enabled
server from Java, make sure you can get to it via **psql**. You should
see output like the following if you have established a SSL connnection.
see output like the following if you have established a SSL connection.

`$ ./bin/psql -h localhost`
`Welcome to psql 8.0.0rc5, the PostgreSQL interactive terminal.`
@@ -14,7 +14,7 @@ next: load.html

* [Importing JDBC](use.html#import)
* [Loading the Driver](load.html)
* [Connecting to the Databas](connect.html)
* [Connecting to the Database](connect.html)
* [Connection Parameters](connect.html#connection-parameters)

This section describes how to load and initialize the JDBC driver in your programs.
@@ -1504,7 +1504,7 @@ Date: Fri Feb 10 00:34:59 2012 -0800
The concrete JDBC implementation classes should do as little work
as possible. They exist solely to connect the right set of concrete
implemention classes, leaving all the real work to the Abstract
implementation classes, leaving all the real work to the Abstract
versions. Some logic had started to creep out into these concrete
classes which is bad because it duplicates code in paths that aren't
likely to be tested by a developer who is working primarily with a
@@ -129,7 +129,7 @@ Server side prepared statements are linked to database object IDs, so it could f

The recommendation is:
1. Avoid changing `search_path` often, as it invalidates server side prepared statements
1. Use simple `set search_path...` commands, avoid nesting the comands into pl/pgsql or alike, otherwise
1. Use simple `set search_path...` commands, avoid nesting the commands into pl/pgsql or alike, otherwise
pgjdbc won't be able to identify `search_path` change

#### Re-execution of failed statements
@@ -154,7 +154,7 @@ uses simple queries in the case where `replication` connection property is activ

#### Use of server-prepared statements for con.createStatement()

By default, pgjdbc uses server-prepard statements for `PreparedStatement` only, however you might want
By default, pgjdbc uses server-prepared statements for `PreparedStatement` only, however you might want
to activate server side prepared statements for regular `Statement` as well. For instance, if you
execute the same statement through `con.createStatement().executeQuery(...)`, then you might improve
performance by caching the statement. Of course it is better to use `PreparedStatements` explicitly,
@@ -23,7 +23,7 @@ Configuring the PostgreSQL™ server for SSL is covered in the [main
documentation](http://www.postgresql.org/docs/current/static/ssl-tcp.html),
so it will not be repeated here. Before trying to access your SSL enabled
server from Java, make sure you can get to it via **psql**. You should
see output like the following if you have established a SSL connnection.
see output like the following if you have established a SSL connection.

```
$ ./bin/psql -h localhost -U postgres
@@ -14,7 +14,7 @@ next: load.html

* [Importing JDBC](use.html#import)
* [Loading the Driver](load.html)
* [Connecting to the Databas](connect.html)
* [Connecting to the Database](connect.html)
* [Connection Parameters](connect.html#connection-parameters)

This section describes how to load and initialize the JDBC driver in your programs.

0 comments on commit 5b0c05f

Please sign in to comment.
You can’t perform that action at this time.