Skip to content

Commit

Permalink
fix grammar, fix downloads, minor edits (#2626)
Browse files Browse the repository at this point in the history
* fix grammar, fix downloads, minor edits
  • Loading branch information
davecramer committed Sep 19, 2022
1 parent fe4119d commit 036a30d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/_site/about/about.html
Expand Up @@ -104,7 +104,7 @@ <h2 class="pgBlockHide"><label for="q">Search</label></h2>
<div id="pgContentWrap">
<h1>About</h1>
<p>
<strong>PostgreSQL JDBC Driver</strong> (<em>PgJDBC</em> for short) allows Java programs to connect to a PostgreSQL database using standard,
<strong>The PostgreSQL JDBC Driver</strong> (<em>PgJDBC</em> for short) allows Java programs to connect to a PostgreSQL database using standard,
database independent Java code. Is an open source JDBC driver written in Pure Java (Type 4), and communicates in
the PostgreSQL native network protocol.<br/><br/>
The current version of the driver should be compatible with <strong>PostgreSQL 8.2 and higher</strong>,
Expand Down
2 changes: 1 addition & 1 deletion docs/content/documentation/server-prepare.md
Expand Up @@ -665,7 +665,7 @@ After create `PGReplicationStream` , it's time to start receive changes in real-

Changes can be received from stream as blocking( `org.postgresql.replication.PGReplicationStream#read` ) or as non-blocking (`org.postgresql.replication.PGReplicationStream#readPending` ).
Both methods receive changes as a `java.nio.ByteBuffer` with the payload from the send output plugin. We can't receive
part of message, only the full message that was sent by the output plugin. ByteBuffer contains message in format that is defined by the decoding output plugin, it can be simple String, json, or whatever the plugin determines. That why pgJDBC returns the raw ByteBuffer instead of making assumptions.
part of message, only the full message that was sent by the output plugin. ByteBuffer contains message in format that is defined by the decoding output plugin, it can be simple String, json, or whatever the plugin determines. That's why pgJDBC returns the raw ByteBuffer instead of making assumptions.

##### Example 9.11. Example send message from output plugin.

Expand Down
4 changes: 2 additions & 2 deletions docs/content/documentation/use.md
Expand Up @@ -18,7 +18,7 @@ import java.sql.*;

> **NOTE**
>
> You should not import the `org.postgresql` package unless you are not using standard PostgreSQL™ extensions to the JDBC API.
> You should not import the `org.postgresql` package unless you are using PostgreSQL™ extensions to the JDBC API.
## Loading the Driver

Expand All @@ -28,7 +28,7 @@ Applications do not need to explicitly load the org.postgresql. Driver class bec
>
> Prior to Java 1.6, the driver had to be loaded by the application - either by calling `Class.forName("org.postgresql.Driver");` or by passing the driver class name as a JVM parameter `java -Djdbc.drivers=org.postgresql.Driver example.ImageViewer`
These older methods of loading the driver are still supported but they are no longer necessary.
These older methods of loading the driver are still supported, but they are no longer necessary.

## Connecting to the Database

Expand Down
6 changes: 3 additions & 3 deletions docs/data/homepagedata.toml
@@ -1,15 +1,15 @@
# Features

[[feature]]
desc = "Allows Java programs to connect to a PostgreSQL database using standard, database independent Java code"
desc = "pgJDBC allows Java programs to connect to a PostgreSQL database using standard, database independent Java code."
path = "/icons/java-icon.svg"

[[feature]]
desc = "Provides complete implementation of the JDBC specification in addition to some PostgreSQL specific extensions"
desc = "pgJDBC provides a reasonably complete implementation of the JDBC specification in addition to some PostgreSQL specific extensions."
path = "/icons/api-icon.svg"

[[feature]]
desc = "The current development driver supports eleven server versions and three java environments"
desc = "The current development driver supports eleven server versions and three java environments."
path = "/icons/driver-icon.svg"

# Releases Info
Expand Down
4 changes: 2 additions & 2 deletions docs/data/versions.toml
Expand Up @@ -10,13 +10,13 @@ url= "/download/postgresql-42.5.0.jar"
j_name= "Java 7"
v_name= "v42.2.26"
description= "If you are using Java 7 then you should use the JDBC 4.1 version."
url= "/download/postgresql-42.2.26.jar.jre7"
url= "/download/postgresql-42.2.26.jre7.jar"

[[recent]]
j_name= "Java 6"
v_name= "v42.2.26"
description= "If you are using Java 6 then you should use the JDBC 4.0 version."
url= "/download/postgresql-42.2.26.jar.jre6"
url= "/download/postgresql-42.2.26.jre6.jar"

# Past Versions

Expand Down
6 changes: 3 additions & 3 deletions docs/layouts/partials/home/info.html
Expand Up @@ -4,8 +4,8 @@ <h2>
Why pgJDBC ?
</h2>
<p>
PostgreSQL JDBC Driver allows Java programs to connect to a PostgreSQL database using standard, database
independent Java code. Is an open source JDBC driver written in Pure Java (Type 4), and communicates in the
The PostgreSQL JDBC Driver allows Java programs to connect to a PostgreSQL database using standard, database
independent Java code. pgJDBC is an open source JDBC driver written in Pure Java (Type 4), and communicates in the
PostgreSQL native network protocol. Because of this, the driver is platform independent; once compiled, the
driver can be used on any system.
</p>
Expand All @@ -25,4 +25,4 @@ <h2>
{{ end}}
</ul>
</article>
</section>
</section>

0 comments on commit 036a30d

Please sign in to comment.