diff --git a/.github/workflows/matrix_builder.js b/.github/workflows/matrix_builder.js
index 15c75b2af3..dbd00fb0b3 100644
--- a/.github/workflows/matrix_builder.js
+++ b/.github/workflows/matrix_builder.js
@@ -9,7 +9,7 @@ class Axis {
this.values = values;
// If all entries have same weight, the axis has uniform distribution
this.uniform = values.reduce((a, b) => a === (b.weight || 1) ? a : 0, values[0].weight || 1) !== 0
- this.totalWeigth = this.uniform ? values.length : values.reduce((a, b) => a + (b.weight || 1), 0);
+ this.totalWeight = this.uniform ? values.length : values.reduce((a, b) => a + (b.weight || 1), 0);
}
static matches(row, filter) {
@@ -47,7 +47,7 @@ class Axis {
if (this.uniform) {
return values[Math.floor(Math.random() * values.length)];
}
- const totalWeight = !filter ? this.totalWeigth : values.reduce((a, b) => a + (b.weight || 1), 0);
+ const totalWeight = !filter ? this.totalWeight : values.reduce((a, b) => a + (b.weight || 1), 0);
let weight = Math.random() * totalWeight;
for (let i = 0; i < values.length; i++) {
const value = values[i];
diff --git a/.github/workflows/omni.yml b/.github/workflows/omni.yml
index 6cbe9c0bff..90fb3d4c42 100644
--- a/.github/workflows/omni.yml
+++ b/.github/workflows/omni.yml
@@ -52,7 +52,7 @@ jobs:
MATRIX_SCRAM: '${{ github.event.inputs.matrix_scram }}'
MATRIX_SSL: '${{ github.event.inputs.matrix_ssl }}'
MATRIX_DEFAULT_TEST_GROUP: '${{ github.event.inputs.matrix_default_test_group }}'
- # Script as an environment variable so we don't have to worry shell substitions
+ # Script as an environment variable so we don't have to worry shell substitutions
MATRIX_GENERATION_NODE_JS_SCRIPT: |
const DEFAULT_TEST_GROUP = process.env.MATRIX_DEFAULT_TEST_GROUP || 'fast';
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7fd640b8f6..5d54029462 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -288,7 +288,7 @@ is executed a second time it will fail.
- Fix: properly set cancel socket timeout (#2044)
- Fix "Required class information missing" when old org.jboss:jandex parses pgjdbc classes [issue 2008][https://github.com/pgjdbc/pgjdbc/issues/2008]
- Fix PGCopyInputStream returning the last row twice when reading with CopyOut API [issue 2016][https://github.com/pgjdbc/pgjdbc/issues/2016]
-- Fix Connnection.isValid() to not wait longer than existing network timeout [PR #2040](https://github.com/pgjdbc/pgjdbc/pull/2040)
+- Fix Connection.isValid() to not wait longer than existing network timeout [PR #2040](https://github.com/pgjdbc/pgjdbc/pull/2040)
- Fix Passwords with spaces (ASCII and non-ASCII) now work with SCRAM authentication (driver now uses SASLprep normalization) [PR #2052](https://github.com/pgjdbc/pgjdbc/pull/2052)
- Fix DatabaseMetaData.getTablePrivileges() to include views, materialized views, and foreign tables [PR #2049](https://github.com/pgjdbc/pgjdbc/pull/2049)
- Fix Resolve ParseError in PGtokenizer fixes #2050
@@ -313,7 +313,7 @@ fixed in #1920
- The driver returns enum and jsonb arrays elements as String objects (like in 42.2.14 and earlier versions) [PR 1879](https://github.com/pgjdbc/pgjdbc/pull/1879).
- PgTokenizer was ignoring last empty token [PR #1882](https://github.com/pgjdbc/pgjdbc/pull/1882)
- Remove osgi from karaf fixes Issue #1891 [PR #1902](https://github.com/pgjdbc/pgjdbc/pull/1902)
-- Handle nulls when the following clasess are used: PGbox, PGcircle, PGline, PGlseg, PGpath, PGpoint, PGpolygon, and PGmoney.
+- Handle nulls when the following classes are used: PGbox, PGcircle, PGline, PGlseg, PGpath, PGpoint, PGpolygon, and PGmoney.
## [42.2.16] (2020-08-20)
### Known issues
@@ -610,7 +610,7 @@ thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc
### 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)
@@ -644,7 +644,7 @@ thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc
### Fixed
- Replication API: fix issue in #834 setting statusIntervalUpdate causes high CPU load. [PR 835](https://github.com/pgjdbc/pgjdbc/pull/835) [59236b74](https://github.com/pgjdbc/pgjdbc/commit/59236b74acdd400d9d91d3eb2bb07d70b15392e5)
-### Regresions
+### Regressions
- NPE in PreparedStatement.executeBatch in case of empty batch. Fixed in 42.1.3
## [42.1.1] (2017-05-05)
diff --git a/benchmarks/build.gradle.kts b/benchmarks/build.gradle.kts
index 55aae72768..e610b9a1fd 100644
--- a/benchmarks/build.gradle.kts
+++ b/benchmarks/build.gradle.kts
@@ -29,7 +29,7 @@ dependencies {
}
// See https://github.com/melix/jmh-gradle-plugin
-// Unfortunately, current jmh-gradle-plugin does not allow to cusomize jmh parameters from the
+// Unfortunately, current jmh-gradle-plugin does not allow to customize jmh parameters from the
// command line, so the workarounds are:
// a) Build and execute the jar itself: ./gradlew jmhJar && java -jar build/libs/calcite-...jar JMH_OPTIONS
// b) Execute benchmarks via .main() methods from IDE (you might want to activate "power save mode"
diff --git a/bom/build.gradle.kts b/bom/build.gradle.kts
index 1d1eb78869..e6d6216f44 100644
--- a/bom/build.gradle.kts
+++ b/bom/build.gradle.kts
@@ -10,7 +10,7 @@ plugins {
val String.v: String get() = rootProject.extra["$this.version"] as String
// Note: Gradle allows to declare dependency on "bom" as "api",
-// and it makes the contraints to be transitively visible
+// and it makes the constraints to be transitively visible
// However Maven can't express that, so the approach is to use Gradle resolution
// and generate pom files with resolved versions
// See https://github.com/gradle/gradle/issues/9866
diff --git a/docker/bin/wait_for_pg_isready b/docker/bin/wait_for_pg_isready
index ab0e825b0e..633b003462 100755
--- a/docker/bin/wait_for_pg_isready
+++ b/docker/bin/wait_for_pg_isready
@@ -46,7 +46,7 @@ main () {
exit 0
fi
local elapsed=$(( $(utc_seconds) - ${started_at} ))
- [[ "${elapsed}" -le "${max_wait_seconds}" ]] || err "Max wait time exceeeded"
+ [[ "${elapsed}" -le "${max_wait_seconds}" ]] || err "Max wait time exceeded"
sleep "${sleep_seconds}"
done
}
diff --git a/docker/postgres-server/docker-compose.yml b/docker/postgres-server/docker-compose.yml
index 8f08f94608..aa5a51862a 100644
--- a/docker/postgres-server/docker-compose.yml
+++ b/docker/postgres-server/docker-compose.yml
@@ -22,7 +22,7 @@ services:
- FSYNC=${FSYNC:-no}
- SYNC_COMMIT=${SYNC_COMMIT:-yes}
- FULL_PAGE_WRITES=${FULL_PAGE_WRITES:-no}
- - AUTO_VACCUUM=${AUTO_VACCUUM:-no}
+ - AUTO_VACUUM=${AUTO_VACUUM:-no}
- TRACK_COUNTS=${TRACK_COUNTS:-no}
- CREATE_REPLICAS=${CREATE_REPLICAS:-no}
- POSTGRES_USER=postgres
diff --git a/docker/postgres-server/scripts/entrypoint.sh b/docker/postgres-server/scripts/entrypoint.sh
index d3acb68db0..9b8177ec3c 100755
--- a/docker/postgres-server/scripts/entrypoint.sh
+++ b/docker/postgres-server/scripts/entrypoint.sh
@@ -26,7 +26,7 @@ main () {
add_pg_opt "-c full_page_writes=off"
fi
- if is_option_disabled "${AUTO_VACCUUM}"; then
+ if is_option_disabled "${AUTO_VACUUM}"; then
add_pg_opt "-c autovacuum=off"
fi
diff --git a/docs/_includes/submenu_community.html b/docs/_includes/submenu_community.html
index 4aec4b92e5..eee924e82d 100644
--- a/docs/_includes/submenu_community.html
+++ b/docs/_includes/submenu_community.html
@@ -2,7 +2,7 @@
diff --git a/docs/_posts/2017-02-20-42.0.0-release.md b/docs/_posts/2017-02-20-42.0.0-release.md
index c75d7642f9..8764e336ad 100644
--- a/docs/_posts/2017-02-20-42.0.0-release.md
+++ b/docs/_posts/2017-02-20-42.0.0-release.md
@@ -16,7 +16,7 @@ version: 42.0.0
- 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)
+- Strict handling of accepted values in getBoolean and setObject(BOOLEAN), now it follows PostgreSQL accepted values, only 1 and 0 for numeric types are accepted (previously !=0 was true). [PR 732](https://github.com/pgjdbc/pgjdbc/pull/732)
- Return correct versions and name of the driver. [PR 668](https://github.com/pgjdbc/pgjdbc/pull/668)
### Removed
diff --git a/docs/_posts/2017-07-12-42.1.2-release.md b/docs/_posts/2017-07-12-42.1.2-release.md
index 5420569276..6dd30ac0c6 100644
--- a/docs/_posts/2017-07-12-42.1.2-release.md
+++ b/docs/_posts/2017-07-12-42.1.2-release.md
@@ -48,7 +48,7 @@ Robert 'Bobby' Zenz (1):
Vladimir Gordiychuk (1):
-* bug: floating logical replcation test [PR 829](https://github.com/pgjdbc/pgjdbc/pull/829) [2d3e8972](https://github.com/pgjdbc/pgjdbc/commit/2d3e8972a0b34106a8b7426619cabf852c38ddaa)
+* bug: floating logical replication test [PR 829](https://github.com/pgjdbc/pgjdbc/pull/829) [2d3e8972](https://github.com/pgjdbc/pgjdbc/commit/2d3e8972a0b34106a8b7426619cabf852c38ddaa)
Vladimir Sitnikov (7):
diff --git a/docs/_posts/2019-06-19-42.2.6-release.md b/docs/_posts/2019-06-19-42.2.6-release.md
index 8ec9fb544b..27c690347f 100644
--- a/docs/_posts/2019-06-19-42.2.6-release.md
+++ b/docs/_posts/2019-06-19-42.2.6-release.md
@@ -171,7 +171,7 @@ Vladimir Sitnikov (9):
* docs: reflect 42.2.5 release in readme.md [d43398a5](https://github.com/pgjdbc/pgjdbc/commit/d43398a5d4c173da40e8f283f9e5fe20a971de5c)
* perf: fix 1ms per async CopyAPI (regression since 42.2.5) [PR 1314](https://github.com/pgjdbc/pgjdbc/pull/1314) [e2623d63](https://github.com/pgjdbc/pgjdbc/commit/e2623d63d4b6fad0b12fb9ace842475e4a9134dc)
-* chore: use openjdk7 to boostrap Travis CI images for JDK 6 [PR 1366](https://github.com/pgjdbc/pgjdbc/pull/1366) [cdfd49cf](https://github.com/pgjdbc/pgjdbc/commit/cdfd49cf8040c75d315fb41f7c94ab4f9878a060)
+* chore: use openjdk7 to bootstrap Travis CI images for JDK 6 [PR 1366](https://github.com/pgjdbc/pgjdbc/pull/1366) [cdfd49cf](https://github.com/pgjdbc/pgjdbc/commit/cdfd49cf8040c75d315fb41f7c94ab4f9878a060)
* test: avoid locale-dependent output in SetObject310Test [ef14ceae](https://github.com/pgjdbc/pgjdbc/commit/ef14ceae7598ad854b7af79ec2c1244662ed3fce)
* fix: date rounding errors for dates before 1970 [b5653899](https://github.com/pgjdbc/pgjdbc/commit/b565389920f78702625ee263473bd9b3ec97f764)
* docs: update translation files [9fcaa98e](https://github.com/pgjdbc/pgjdbc/commit/9fcaa98ec1f0018f3877fd2e15ea2c13e60bbd35)
diff --git a/docs/_posts/2020-03-31-42.2.12-release.md b/docs/_posts/2020-03-31-42.2.12-release.md
index 7509f95932..a084999133 100644
--- a/docs/_posts/2020-03-31-42.2.12-release.md
+++ b/docs/_posts/2020-03-31-42.2.12-release.md
@@ -18,7 +18,7 @@ version: 42.2.12
Christian Ramseyer (1):
-* Remove merge aritfacts and fix a typo [PR 1741](https://github.com/pgjdbc/pgjdbc/pull/1741) [3871bfd8](https://github.com/pgjdbc/pgjdbc/commit/3871bfd8ba6c37be7cffdd4959f24e00b5bc86d8)
+* Remove merge artifacts and fix a typo [PR 1741](https://github.com/pgjdbc/pgjdbc/pull/1741) [3871bfd8](https://github.com/pgjdbc/pgjdbc/commit/3871bfd8ba6c37be7cffdd4959f24e00b5bc86d8)
Dave Cramer (1):
diff --git a/docs/_posts/2020-10-09-42.2.17-release.md b/docs/_posts/2020-10-09-42.2.17-release.md
index 92410ac088..a725c51806 100644
--- a/docs/_posts/2020-10-09-42.2.17-release.md
+++ b/docs/_posts/2020-10-09-42.2.17-release.md
@@ -39,7 +39,7 @@ Jorge Solorzano (1):
Vladimir Sitnikov (8):
-* fix: handle nulls when the following clasess are used: PGbox, PGcircle, PGline, PGlseg, PGpath, PGpoint, PGpolygon, and PGmoney [c745f4e5](https://github.com/pgjdbc/pgjdbc/commit/c745f4e549b119b8332ef48bbc8b8525ccba0f21)
+* fix: handle nulls when the following classes are used: PGbox, PGcircle, PGline, PGlseg, PGpath, PGpoint, PGpolygon, and PGmoney [c745f4e5](https://github.com/pgjdbc/pgjdbc/commit/c745f4e549b119b8332ef48bbc8b8525ccba0f21)
* chore: fix compileJava7 and compileJava6 [0308ffca](https://github.com/pgjdbc/pgjdbc/commit/0308ffcafa49271d1dabd001404b955c5e8bbe28)
* chore: run GitHub actions when branch name has slash [433817d6](https://github.com/pgjdbc/pgjdbc/commit/433817d606c42e897ee4b37baf7b50eda5ab3356)
* chore: seed build cache only when credentials exist (==skip on forks) [eec708a8](https://github.com/pgjdbc/pgjdbc/commit/eec708a80ad17f5a17bba5cdbcdcb640b094a965)
diff --git a/docs/_posts/2021-02-18-42.2.19-release.md b/docs/_posts/2021-02-18-42.2.19-release.md
index 5a0a6b39a0..442b86b9fc 100644
--- a/docs/_posts/2021-02-18-42.2.19-release.md
+++ b/docs/_posts/2021-02-18-42.2.19-release.md
@@ -21,7 +21,7 @@ is executed a second time it will fail.
- Fix: properly set cancel socket timeout (#2044)
- Fix "Required class information missing" when old org.jboss:jandex parses pgjdbc classes [issue 2008][https://github.com/pgjdbc/pgjdbc/issues/2008]
- Fix PGCopyInputStream returning the last row twice when reading with CopyOut API [issue 2016][https://github.com/pgjdbc/pgjdbc/issues/2016]
-- Fix Connnection.isValid() to not wait longer than existing network timeout [PR #2040](https://github.com/pgjdbc/pgjdbc/pull/2040)
+- Fix Connection.isValid() to not wait longer than existing network timeout [PR #2040](https://github.com/pgjdbc/pgjdbc/pull/2040)
- Fix Passwords with spaces (ASCII and non-ASCII) now work with SCRAM authentication (driver now uses SASLprep normalization) [PR #2052](https://github.com/pgjdbc/pgjdbc/pull/2052)
- Fix DatabaseMetaData.getTablePrivileges() to include views, materialized views, and foreign tables [PR #2049](https://github.com/pgjdbc/pgjdbc/pull/2049)
@@ -87,7 +87,7 @@ Vladimir Sitnikov (14):
odubaj (1):
-* Remove dependency on java-comment-preprocesor [df2297ef](https://github.com/pgjdbc/pgjdbc/commit/df2297ef6b4d26c1de9a5c90e0f8c524dd437425)
+* Remove dependency on java-comment-preprocessor [df2297ef](https://github.com/pgjdbc/pgjdbc/commit/df2297ef6b4d26c1de9a5c90e0f8c524dd437425)
rtrier (1):
diff --git a/docs/community/contributors.html b/docs/community/contributors.html
index 9094473880..1dea7aecc2 100644
--- a/docs/community/contributors.html
+++ b/docs/community/contributors.html
@@ -26,7 +26,7 @@
Maintainers
Please do not contact the maintainers directly unless you have
a specific need to contact just them. Please use the
- Github discussions
+ GitHub discussions
if at all possible.
- Clone the PostgreSQL JDBC repository from Github:
+ Clone the PostgreSQL JDBC repository from GitHub:
git clone git://github.com/pgjdbc/pgjdbc.git
diff --git a/docs/documentation/changelog.md b/docs/documentation/changelog.md
index be5c0b64e0..ab66105374 100644
--- a/docs/documentation/changelog.md
+++ b/docs/documentation/changelog.md
@@ -282,7 +282,7 @@ George Kankava (1):
Jeremy Whiting (3):
-* perf: Add optimization to re-write batched insert stataments. [ac8abf3](https://github.com/pgjdbc/pgjdbc/commit/ac8abf3f2acbef3f52eb7874b6815d1adc974299)
+* perf: Add optimization to re-write batched insert statements. [ac8abf3](https://github.com/pgjdbc/pgjdbc/commit/ac8abf3f2acbef3f52eb7874b6815d1adc974299)
* fix: Change optimization to delay parameter and statement re-write to immediately before execution. [e591577](https://github.com/pgjdbc/pgjdbc/commit/e59157742c77769cc19e14aeb5aebd9c042e2050)
* feat: Added to SQL parser to allow inspection of Statement attributes and Command. [4ddb693](https://github.com/pgjdbc/pgjdbc/commit/4ddb693ff073c128116b0d79f5aeb45c5ae7307c)
@@ -385,7 +385,7 @@ John Harvey (1):
Dave Cramer (3):
-* fix:regression from previous behaviour where setObject(index,object,VARHCAR) should call getString if it can't cast it to a string [PR#482](https://github.com/pgjdbc/pgjdbc/pull/482) [9d6389c](https://github.com/pgjdbc/pgjdbc/commit/9d6389c57906c9d491087f8db9fa011d8308f8c2)
+* fix:regression from previous behaviour where setObject(index,object,VARCHAR) should call getString if it can't cast it to a string [PR#482](https://github.com/pgjdbc/pgjdbc/pull/482) [9d6389c](https://github.com/pgjdbc/pgjdbc/commit/9d6389c57906c9d491087f8db9fa011d8308f8c2)
* fix:correct comment [PR#482](https://github.com/pgjdbc/pgjdbc/pull/482) [bfd73c7](https://github.com/pgjdbc/pgjdbc/commit/bfd73c72d3f59af3674e078e0e7c4b227207985d)
* Update README.md [PR#482](https://github.com/pgjdbc/pgjdbc/pull/482) [5a956a3](https://github.com/pgjdbc/pgjdbc/commit/5a956a3720546086b3bb7dd156d1d2e3cdd1ee5a)
@@ -489,7 +489,7 @@ Stephen Nelson (1):
Vladimir Sitnikov (12):
* doc: add coding guidelines to readme [PR#442](https://github.com/pgjdbc/pgjdbc/pull/442) [af62c6d](https://github.com/pgjdbc/pgjdbc/commit/af62c6d211097b7e39c04f6293c6d0f60f817adf)
-* chore: remove docbkx/pgjdbc.xml from reposiory [PR#435](https://github.com/pgjdbc/pgjdbc/pull/435) [92b65f0](https://github.com/pgjdbc/pgjdbc/commit/92b65f04de1240b24bd4f71e34903422656660c5)
+* chore: remove docbkx/pgjdbc.xml from repository [PR#435](https://github.com/pgjdbc/pgjdbc/pull/435) [92b65f0](https://github.com/pgjdbc/pgjdbc/commit/92b65f04de1240b24bd4f71e34903422656660c5)
* chore: move files to "pgjdbc" maven module to prepare for pre-processor fix [PR#435](https://github.com/pgjdbc/pgjdbc/pull/435) [f95b44e](https://github.com/pgjdbc/pgjdbc/commit/f95b44ece4450ac22e98e9c3ef4b1d3ba531698f)
* chore: use java comment preprocessor to build jre6/jre7/jre8 jars from the same sources [PR#435](https://github.com/pgjdbc/pgjdbc/pull/435) [42c2e3b](https://github.com/pgjdbc/pgjdbc/commit/42c2e3b7953b2e68281c4ec269bd9749e135065b)
* doc: fix javadocs warnings when building via java 8 [PR#435](https://github.com/pgjdbc/pgjdbc/pull/435) [3b10873](https://github.com/pgjdbc/pgjdbc/commit/3b10873496c7e7cbd88a748a296c0f04dbce489a)
@@ -1166,7 +1166,7 @@ Author: Dave Cramer
Author: Dave Cramer
- add functions to allow LargeObjectMaager to commit on close from Marc Cousin
+ add functions to allow LargeObjectManager to commit on close from Marc Cousin
Author: tminglei
@@ -1200,7 +1200,7 @@ Date: Thu Oct 17 08:29:07 2013 -0400
Author: Dave Cramer
Date: Tue Oct 15 06:51:45 2013 -0400
- add functions to allow LargeObjectMaager to commit on close from Marc Cousin
+ add functions to allow LargeObjectManager to commit on close from Marc Cousin
Author: halset
Date: Mon Sep 9 12:12:26 2013 +0200
@@ -1237,7 +1237,7 @@ Date: Tue May 21 21:03:21 2013 -0400
Author: Dave Cramer
Date: Tue May 21 20:23:00 2013 -0400
- initialize binaryTranferEnable to null
+ initialize binaryTransferEnable to null
Author: Dave Cramer
Date: Tue May 21 20:08:27 2013 -0400
@@ -1487,7 +1487,7 @@ Date: Mon Mar 12 17:33:27 2012 -0700
Author: Dave Cramer
Date: Mon Feb 13 16:43:57 2012 -0500
- resolve ACL getTablePriveledges for later servers
+ resolve ACL getTablePrivileges for later servers
Author: Kris Jurka
Date: Fri Feb 10 01:13:48 2012 -0800
@@ -1696,7 +1696,7 @@ Date: Thu Oct 17 08:29:07 2013 -0400
Author: Dave Cramer
Date: Tue Oct 15 06:51:45 2013 -0400
- add functions to allow LargeObjectMaager to commit on close from Marc Cousin
+ add functions to allow LargeObjectManager to commit on close from Marc Cousin
Author: Dave Cramer
Date: Tue Sep 10 07:25:06 2013 -0700
@@ -1841,7 +1841,7 @@ Date: Mon May 20 16:57:37 2013 -0700
Author: Dave Cramer
Date: Mon May 20 19:56:30 2013 -0400
- support for materialized views from Thomas Kelllerer
+ support for materialized views from Thomas Kellerer
Author: Dave Cramer
Date: Mon May 20 11:46:52 2013 -0700
@@ -1863,7 +1863,7 @@ Date: Fri Apr 12 17:05:00 2013 +0200
Author: Valentine Gogichashvili
Date: Fri Apr 12 03:31:40 2013 +0200
- Test is checking search_path usage dirctly on TypeInfo methods
+ Test is checking search_path usage directly on TypeInfo methods
Author: Valentine Gogichashvili
Date: Fri Apr 12 02:35:27 2013 +0200
@@ -1874,7 +1874,7 @@ Date: Fri Apr 12 02:35:27 2013 +0200
TypeInfoCache did not consider the current search_path and was choosing
an OID of a type not deterministically. These change will make
the type from the current schema to be chosen. Also this change remains
- backwards compatible with the previous implementation, still being anble
+ backwards compatible with the previous implementation, still being able
to find a type, that is not included into the current search_path.
Provided test fails now, as it does not TypeInfoCache
@@ -1987,7 +1987,7 @@ Date: Thu Feb 7 08:55:06 2013 -0500
log can not be output when using DataSource
property settings were not being copied to the datasource
- these included logLevel, binaryTranfer, sslfactory, applicationName
+ these included logLevel, binaryTransfer, sslfactory, applicationName
patch provided by Chen Huajun
Author: Kris Jurka
@@ -2362,7 +2362,7 @@ jurka.
default transaction isolation level. Committed by jurka. Thanks to Kevin Grittner.
* ![update](../media/img/update.jpg) Update default permissions to account for changes in
different server versions. 8.2 removed the rule permission while 8.4 added a
- trunctate permission. Committed by jurka.
+ truncate permission. Committed by jurka.
* ![update](../media/img/update.jpg) Newer server versions (9.0+) allow extra_float_digits
to be set to 3 instead of the old limit of 2 to get the maximum precision of
floating point values out of the server. Committed by jurka.
diff --git a/docs/documentation/head/jndi.md b/docs/documentation/head/jndi.md
index 9975288000..0ee0b74cc7 100644
--- a/docs/documentation/head/jndi.md
+++ b/docs/documentation/head/jndi.md
@@ -10,7 +10,7 @@ next: logging.html
---
All the `ConnectionPoolDataSource` and `DataSource` implementations can be stored
-in JNDI. In the case of the nonpooling implementations, a new instance will be
+in JNDI. In the case of the non-pooling implementations, a new instance will be
created every time the object is retrieved from JNDI, with the same settings as
the instance that was stored. For the pooling implementations, the same instance
will be retrieved as long as it is available (e.g., not a different JVM retrieving
diff --git a/docs/documentation/head/replication.md b/docs/documentation/head/replication.md
index 04a960d4d4..44042c7409 100644
--- a/docs/documentation/head/replication.md
+++ b/docs/documentation/head/replication.md
@@ -227,7 +227,7 @@ OutputPluginWrite(ctx, true);
```
As mentioned previously, replication stream should periodically send feedback to the database to prevent disconnect via
-timeout. Feedback is automatically sent when `read` or `readPending` are called if it's time to send feedback. Feedback can also be sent via `org.postgresql.replication.PGReplicationStream#forceUpdateStatus()` regardless of the timeout. Another important duty of feedback is to provide the server with the Logial Sequence Number (LSN) that has been successfully received and applied to consumer, it is necessary for monitoring and to truncate/archive WAL's that that are no longer needed. In the event that replication has been restarted, it's will start from last successfully processed LSN that was sent via feedback to database.
+timeout. Feedback is automatically sent when `read` or `readPending` are called if it's time to send feedback. Feedback can also be sent via `org.postgresql.replication.PGReplicationStream#forceUpdateStatus()` regardless of the timeout. Another important duty of feedback is to provide the server with the Logical Sequence Number (LSN) that has been successfully received and applied to consumer, it is necessary for monitoring and to truncate/archive WAL's that are no longer needed. In the event that replication has been restarted, it's will start from last successfully processed LSN that was sent via feedback to database.
The API provides the following feedback mechanism to indicate the successfully applied LSN by the current consumer. LSN's before this can be truncated or archived.
`org.postgresql.replication.PGReplicationStream#setFlushedLSN` and
diff --git a/docs/documentation/head/server-prepare.md b/docs/documentation/head/server-prepare.md
index 6953c667c0..1da2617c4c 100644
--- a/docs/documentation/head/server-prepare.md
+++ b/docs/documentation/head/server-prepare.md
@@ -165,7 +165,7 @@ performance by caching the statement. Of course it is better to use `PreparedSta
however the driver has an option to cache simple statements as well.
You can do that by setting `preferQueryMode` to `extendedCacheEverything`.
-Note: the option is more of a diagnostinc/debugging sort, so be careful how you use it .
+Note: the option is more of a diagnostic/debugging sort, so be careful how you use it .
#### Bind placeholder datatypes
diff --git a/pgjdbc-osgi-test/build.gradle.kts b/pgjdbc-osgi-test/build.gradle.kts
index 8c8ebd6c27..79cf66097c 100644
--- a/pgjdbc-osgi-test/build.gradle.kts
+++ b/pgjdbc-osgi-test/build.gradle.kts
@@ -59,7 +59,7 @@ val paxLocalCacheRepository = layout.buildDirectory.dir("pax-repo")
val cleanCachedPgjdbc by tasks.registering(Delete::class) {
description =
- "Removes cached postrgresql.jar from pax-repo folder so pax-exam always resolves the recent one"
+ "Removes cached postgresql.jar from pax-repo folder so pax-exam always resolves the recent one"
delete(paxLocalCacheRepository.map { it.dir("org/postgresql") })
}
diff --git a/pgjdbc/src/main/java/org/postgresql/Driver.java b/pgjdbc/src/main/java/org/postgresql/Driver.java
index 1d3fdc15e1..c8fc22a7e6 100644
--- a/pgjdbc/src/main/java/org/postgresql/Driver.java
+++ b/pgjdbc/src/main/java/org/postgresql/Driver.java
@@ -717,12 +717,12 @@ private static long timeout(Properties props) {
* This method was added in v6.5, and simply throws an SQLException for an unimplemented method. I
* decided to do it this way while implementing the JDBC2 extensions to JDBC, as it should help
* keep the overall driver size down. It now requires the call Class and the function name to help
- * when the driver is used with closed software that don't report the stack strace
+ * when the driver is used with closed software that don't report the stack trace
*
* @param callClass the call Class
* @param functionName the name of the unimplemented function with the type of its arguments
* @return PSQLException with a localized message giving the complete description of the
- * unimplemeted function
+ * unimplemented function
*/
public static SQLFeatureNotSupportedException notImplemented(Class> callClass,
String functionName) {
diff --git a/pgjdbc/src/main/java/org/postgresql/PGConnection.java b/pgjdbc/src/main/java/org/postgresql/PGConnection.java
index 97cc1ff321..0273cb2ad9 100644
--- a/pgjdbc/src/main/java/org/postgresql/PGConnection.java
+++ b/pgjdbc/src/main/java/org/postgresql/PGConnection.java
@@ -59,7 +59,7 @@ public interface PGConnection {
* method. Returns null if there have been no notifications. A timeout can be specified so the
* driver waits for notifications.
*
- * @param timeoutMillis when 0, blocks forever. when > 0, blocks up to the specified number of millies
+ * @param timeoutMillis when 0, blocks forever. when > 0, blocks up to the specified number of millis
* or until at least one notification has been received. If more than one notification is
* about to be received, these will be returned in one batch.
* @return notifications that have been received
@@ -253,7 +253,7 @@ public interface PGConnection {
* applications via getParameterStatuses().
*
*
PgJDBC exposes individual accessors for some of these parameters as
- * listed below. They are more backwarrds-compatible and should be preferred
+ * listed below. They are more backwards-compatible and should be preferred
* where possible.
*
*
Not all parameters are reported, only those marked
@@ -270,7 +270,7 @@ public interface PGConnection {
*
*
* As of PostgreSQL 11 the reportable parameter list, and related PgJDBC
- * interfaces or accesors, are:
+ * interfaces or assessors, are:
*
*
*
diff --git a/pgjdbc/src/main/java/org/postgresql/PGProperty.java b/pgjdbc/src/main/java/org/postgresql/PGProperty.java
index d7851d4271..5a5f0b38a3 100644
--- a/pgjdbc/src/main/java/org/postgresql/PGProperty.java
+++ b/pgjdbc/src/main/java/org/postgresql/PGProperty.java
@@ -670,7 +670,7 @@ public enum PGProperty {
SSL_PASSWORD_CALLBACK(
"sslpasswordcallback",
null,
- "A class, implementing javax.security.auth.callback.CallbackHandler that can handle PassworCallback for the ssl password."),
+ "A class, implementing javax.security.auth.callback.CallbackHandler that can handle PasswordCallback for the ssl password."),
/**
*
After requesting an upgrade to SSL from the server there are reports of the server not responding due to a failover
diff --git a/pgjdbc/src/main/java/org/postgresql/PGResultSetMetaData.java b/pgjdbc/src/main/java/org/postgresql/PGResultSetMetaData.java
index 92a3ca06a4..b0575cc1fd 100644
--- a/pgjdbc/src/main/java/org/postgresql/PGResultSetMetaData.java
+++ b/pgjdbc/src/main/java/org/postgresql/PGResultSetMetaData.java
@@ -45,7 +45,7 @@ public interface PGResultSetMetaData {
* Is a column Text or Binary?
*
* @param column column position (1-based)
- * @return 0 if column data foramt is TEXT, or 1 if BINARY
+ * @return 0 if column data format is TEXT, or 1 if BINARY
* @throws SQLException if something wrong happens
* @see Field#BINARY_FORMAT
* @see Field#TEXT_FORMAT
diff --git a/pgjdbc/src/main/java/org/postgresql/core/Encoding.java b/pgjdbc/src/main/java/org/postgresql/core/Encoding.java
index e6f327ecb3..6a7b908f6e 100644
--- a/pgjdbc/src/main/java/org/postgresql/core/Encoding.java
+++ b/pgjdbc/src/main/java/org/postgresql/core/Encoding.java
@@ -122,7 +122,7 @@ protected Encoding(Charset encoding) {
}
/**
- * Returns true if this encoding has characters '-' and '0'..'9' in exactly same posision as
+ * Returns true if this encoding has characters '-' and '0'..'9' in exactly same position as
* ascii.
*
* @return true if the bytes can be scanned directly for ascii numbers.
diff --git a/pgjdbc/src/main/java/org/postgresql/core/PGStream.java b/pgjdbc/src/main/java/org/postgresql/core/PGStream.java
index 53ead54d44..db5a4f2b16 100644
--- a/pgjdbc/src/main/java/org/postgresql/core/PGStream.java
+++ b/pgjdbc/src/main/java/org/postgresql/core/PGStream.java
@@ -375,7 +375,7 @@ public void send(byte[] buf) throws IOException {
/**
* Send a fixed-size array of bytes to the backend. If {@code buf.length < siz}, pad with zeros.
- * If {@code buf.lengh > siz}, truncate the array.
+ * If {@code buf.length > siz}, truncate the array.
*
* @param buf the array of bytes to be sent
* @param siz the number of bytes to be sent
diff --git a/pgjdbc/src/main/java/org/postgresql/core/Parser.java b/pgjdbc/src/main/java/org/postgresql/core/Parser.java
index 285e5350e9..b7d1f93456 100644
--- a/pgjdbc/src/main/java/org/postgresql/core/Parser.java
+++ b/pgjdbc/src/main/java/org/postgresql/core/Parser.java
@@ -882,7 +882,7 @@ public static boolean isOperatorChar(char c) {
*/
public static boolean isIdentifierStartChar(char c) {
/*
- * PostgreSQL's implmementation is located in
+ * PostgreSQL's implementation is located in
* pgsql/src/backend/parser/scan.l:
* ident_start [A-Za-z\200-\377_]
* ident_cont [A-Za-z\200-\377_0-9\$]
diff --git a/pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java b/pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java
index 87e7309844..9b50e22499 100644
--- a/pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java
+++ b/pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java
@@ -412,7 +412,7 @@ Object createQueryKey(String sql, boolean escapeProcessing, boolean isParameteri
*
Don't use this string for logic, only use it when displaying the server version to the user.
* Prefer getServerVersionNum() for all logic purposes.
*
- * @return the server version string from the server_version guc
+ * @return the server version string from the server_version GUC
*/
String getServerVersion();
diff --git a/pgjdbc/src/main/java/org/postgresql/core/ServerVersion.java b/pgjdbc/src/main/java/org/postgresql/core/ServerVersion.java
index c587270396..b06e8c7dd2 100644
--- a/pgjdbc/src/main/java/org/postgresql/core/ServerVersion.java
+++ b/pgjdbc/src/main/java/org/postgresql/core/ServerVersion.java
@@ -102,7 +102,7 @@ public String toString() {
*
The yy or zz version parts may be larger than 99. A NumberFormatException is thrown if a
* version part is out of range.
*
- * @param serverVersion server vertion in a XXYYZZ form
+ * @param serverVersion server version in a XXYYZZ form
* @return server version in number form
*/
static int parseServerVersionStr(@Nullable String serverVersion) throws NumberFormatException {
diff --git a/pgjdbc/src/main/java/org/postgresql/core/Utils.java b/pgjdbc/src/main/java/org/postgresql/core/Utils.java
index a754b7f236..a621521159 100644
--- a/pgjdbc/src/main/java/org/postgresql/core/Utils.java
+++ b/pgjdbc/src/main/java/org/postgresql/core/Utils.java
@@ -167,7 +167,7 @@ private static void doAppendEscapedIdentifier(Appendable sbuf, String value) thr
*
The yy or zz version parts may be larger than 99. A NumberFormatException is thrown if a
* version part is out of range.
*
- * @param serverVersion server vertion in a XXYYZZ form
+ * @param serverVersion server version in a XXYYZZ form
* @return server version in number form
* @deprecated use specific {@link Version} instance
*/
diff --git a/pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java b/pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
index b1923a0a17..b17ce21015 100644
--- a/pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
+++ b/pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
@@ -807,7 +807,7 @@ public synchronized void processNotifies(int timeoutMillis) throws SQLException
timeoutMillis += startTime - newTimeMillis; // Overflows after 49 days, ignore that
startTime = newTimeMillis;
if (timeoutMillis == 0) {
- timeoutMillis = -1; // Don't accidentially wait forever
+ timeoutMillis = -1; // Don't accidentally wait forever
}
}
break;
@@ -1683,7 +1683,7 @@ private void sendBind(SimpleQuery query, SimpleParameterList params, @Nullable P
// be received from a client. If we have a bigger value
// from either very large parameters or incorrect length
// descriptions of setXXXStream we do not send the bind
- // messsage.
+ // message.
//
if (encodedSize > 0x3fffffff) {
throw new PGBindException(new IOException(GT.tr(
diff --git a/pgjdbc/src/main/java/org/postgresql/ds/PGPooledConnection.java b/pgjdbc/src/main/java/org/postgresql/ds/PGPooledConnection.java
index 1c36d33649..50405b190d 100644
--- a/pgjdbc/src/main/java/org/postgresql/ds/PGPooledConnection.java
+++ b/pgjdbc/src/main/java/org/postgresql/ds/PGPooledConnection.java
@@ -109,7 +109,7 @@ public void close() throws SQLException {
/**
* Gets a handle for a client to use. This is a wrapper around the physical connection, so the
* client can call close and it will just return the connection to the pool without really closing
- * the pgysical connection.
+ * the physical connection.
*
*