Skip to content

Commit

Permalink
chore: fix various spelling errors (#2592)
Browse files Browse the repository at this point in the history
* a nonexistent
* abcdefghijklmnopqrstuvwxyz
* able
* accepted
* accidentally
* actual
* applied
* artifacts
* assessors
* backwards
* because
* before
* between
* bootstrap
* certificates
* change
* character
* classes
* code
* columns
* committing
* connect
* connection
* constraint
* contains
* converting
* current
* customize
* decimal
* diagnostic
* directly
* encrypted
* escape
* example
* exceeded
* exceptions
* expected
* expression
* for
* format
* github
* gssapi
* guc
* handshake
* hit
* implementation
* infinity
* instantiation
* javascript
* kellerer
* length
* logical
* manager
* message
* millis
* non-pooling
* nonexistent
* nonexistentdatabase
* nonhiding
* normalized
* override
* package
* parameterized
* partitioned
* password
* physical
* position
* postgresql
* preprocessor
* previously
* privileges
* quarter
* regressions
* replication
* repository
* service
* should
* startup
* statements
* substitutions
* that
* the
* trace
* transfer
* truncate
* unimplemented
* unknown
* unprepared
* vacuum
* varchar
* version
* weight

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Sep 2, 2022
1 parent 6959029 commit 5c78edb
Show file tree
Hide file tree
Showing 77 changed files with 161 additions and 161 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/matrix_builder.js
Expand Up @@ -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) {
Expand Down Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/omni.yml
Expand Up @@ -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';
Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Expand Up @@ -301,7 +301,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
Expand All @@ -326,7 +326,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
Expand Down Expand Up @@ -623,7 +623,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)
Expand Down Expand Up @@ -657,7 +657,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)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/build.gradle.kts
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion bom/build.gradle.kts
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/bin/wait_for_pg_isready
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion docker/postgres-server/docker-compose.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/postgres-server/scripts/entrypoint.sh
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/submenu_community.html
Expand Up @@ -2,7 +2,7 @@
<div id="pgSideNav">
<ul>
<li><a href="community.html">Community</a></li>
<li><a href="github.html">Github</a></li>
<li><a href="github.html">GitHub</a></li>
<li><a href="contributors.html">Contributors</a></li>
</ul>
</div> <!-- pgSideNam -->
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2017-02-20-42.0.0-release.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2017-07-12-42.1.2-release.md
Expand Up @@ -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):

Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2019-06-19-42.2.6-release.md
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2020-03-31-42.2.12-release.md
Expand Up @@ -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):

Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2020-10-09-42.2.17-release.md
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/_posts/2021-02-18-42.2.19-release.md
Expand Up @@ -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)

Expand Down Expand Up @@ -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):

Expand Down
2 changes: 1 addition & 1 deletion docs/community/contributors.html
Expand Up @@ -26,7 +26,7 @@ <h2 class="underlined_10">Maintainers</h2>
<p>
Please do not contact the maintainers directly unless you have
a specific need to contact just them. Please use the
<a href="https://github.com/pgjdbc/pgjdbc/discussions">Github discussions</a>
<a href="https://github.com/pgjdbc/pgjdbc/discussions">GitHub discussions</a>
if at all possible.
</p>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/development/git.html
Expand Up @@ -32,7 +32,7 @@ <h2 class="underlined_10">GIT Web Interface</h2>
<h2 class="underlined_10">Retrieving the Code</h2>
<div>
<p>
Clone the PostgreSQL JDBC repository from Github:
Clone the PostgreSQL JDBC repository from GitHub:
</p>
git clone git://github.com/pgjdbc/pgjdbc.git
<p>
Expand Down

0 comments on commit 5c78edb

Please sign in to comment.