Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 26, 2023

This PR contains the following updates:

Package Change Age Confidence
github.com/lib/pq v1.10.8v1.11.1 age confidence

Release Notes

lib/pq (github.com/lib/pq)

v1.11.1

Compare Source

This fixes two regressions present in the v1.11.0 release:

  • Fix build on 32bit systems, Windows, and Plan 9 (#​1253).

  • Named []byte types and pointers to []byte (e.g. *[]byte, json.RawMessage)
    would be treated as an array instead of bytea (#​1252).

v1.11.0

Compare Source

This version of pq requires Go 1.21 or newer.

pq now supports only maintained PostgreSQL releases, which is PostgreSQL 14 and
newer. Previously PostgreSQL 8.4 and newer were supported.

Features
  • The pq.Error.Error() text includes the position of the error (if reported
    by PostgreSQL) and SQLSTATE code (#​1219, #​1224):

    pq: column "columndoesntexist" does not exist at column 8 (42703)
    pq: syntax error at or near ")" at position 2:71 (42601)
    
  • The pq.Error.ErrorWithDetail() method prints a more detailed multiline
    message, with the Detail, Hint, and error position (if any) (#​1219):

    ERROR:   syntax error at or near ")" (42601)
    CONTEXT: line 12, column 1:
    
         10 |     name           varchar,
         11 |     version        varchar,
         12 | );
              ^
    
  • Add Config, NewConfig(), and NewConnectorConfig() to supply connection
    details in a more structured way (#​1240).

  • Support hostaddr and $PGHOSTADDR (#​1243).

  • Support multiple values in host, port, and hostaddr, which are each
    tried in order, or randomly if load_balance_hosts=random is set (#​1246).

  • Support target_session_attrs connection parameter (#​1246).

  • Support sslnegotiation to use SSL without negotiation (#​1180).

  • Allow using a custom tls.Config, for example for encrypted keys (#​1228).

  • Add PQGO_DEBUG=1 print the communication with PostgreSQL to stderr, to aid
    in debugging, testing, and bug reports (#​1223).

  • Add support for NamedValueChecker interface (#​1125, #​1238).

Fixes
  • Match HOME directory lookup logic with libpq: prefer $HOME over /etc/passwd,
    ignore ENOTDIR errors, and use APPDATA on Windows (#​1214).

  • Fix sslmode=verify-ca verifying the hostname anyway when connecting to a DNS
    name (rather than IP) (#​1226).

  • Correctly detect pre-protocol errors such as the server not being able to fork
    or running out of memory (#​1248).

  • Fix build with wasm (#​1184), appengine (#​745), and Plan 9 (#​1133).

  • Deprecate and type alias pq.NullTime to sql.NullTime (#​1211).

  • Enforce integer limits of the Postgres wire protocol (#​1161).

  • Accept the passfile connection parameter to override PGPASSFILE (#​1129).

  • Fix connecting to socket on Windows systems (#​1179).

  • Don't perform a permission check on the .pgpass file on Windows (#​595).

  • Warn about incorrect .pgpass permissions (#​595).

  • Don't set extra_float_digits (#​1212).

  • Decode bpchar into a string (#​949).

  • Fix panic in Ping() by not requiring CommandComplete or EmptyQueryResponse in
    simpleQuery() (#​1234)

  • Recognize bit/varbit (#​743) and float types (#​1166) in ColumnTypeScanType().

  • Accept PGGSSLIB and PGKRBSRVNAME environment variables (#​1143).

  • Handle ErrorResponse in readReadyForQuery and return proper error (#​1136).

  • CopyIn() and CopyInSchema() now work if the list of columns is empty, in which
    case it will copy all columns (#​1239).

  • Treat nil []byte in query parameters as nil/NULL rather than "" (#​838).

  • Accept multiple authentication methods before checking AuthOk, which improves
    compatibility with PgPool-II (#​1188).

v1.10.9

Compare Source

  • Fixes backwards incompat bug with 1.13.
  • Fixes pgpass issue

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Apr 26, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v "/mnt/renovate/gh/Amad3eu/TodoAPI":"/mnt/renovate/gh/Amad3eu/TodoAPI" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/containerbase":"/tmp/containerbase" -e GOPATH -e GOPROXY -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/mnt/renovate/gh/Amad3eu/TodoAPI" ghcr.io/containerbase/sidecar bash -l -c "install-tool golang 1.20.3 && go get -d -t ./..."
go: downloading github.com/go-chi/chi/v5 v5.0.8
go: downloading github.com/spf13/viper v1.15.0
go: downloading github.com/lib/pq v1.10.9
go: downloading github.com/fsnotify/fsnotify v1.6.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/spf13/afero v1.9.3
go: downloading github.com/spf13/cast v1.5.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading golang.org/x/sys v0.3.0
go: downloading golang.org/x/text v0.5.0
go: downloading github.com/subosito/gotenv v1.4.2
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/magiconair/properties v1.8.7
go: downloading github.com/pelletier/go-toml/v2 v2.0.6
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading gopkg.in/yaml.v3 v3.0.1
github.com/Amad3eu/api-pstg-go/handlers imports
	http: package http is not in GOROOT (/opt/buildpack/tools/golang/1.20.3/src/http)
github.com/Amad3eu/api-pstg-go/handlers imports
	json: package json is not in GOROOT (/opt/buildpack/tools/golang/1.20.3/src/json)
github.com/Amad3eu/api-pstg-go/handlers imports
	models: package models is not in GOROOT (/opt/buildpack/tools/golang/1.20.3/src/models)
github.com/Amad3eu/api-pstg-go/handlers imports
	srtconv: package srtconv is not in GOROOT (/opt/buildpack/tools/golang/1.20.3/src/srtconv)

@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Oct 27, 2024
@renovate renovate bot closed this Oct 27, 2024
@renovate renovate bot deleted the renovate/github.com-lib-pq-1.x branch October 27, 2024 04:22
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Oct 27, 2024
@renovate renovate bot reopened this Oct 27, 2024
@renovate renovate bot restored the renovate/github.com-lib-pq-1.x branch October 27, 2024 06:21
@renovate
Copy link
Contributor Author

renovate bot commented Oct 27, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: downloading github.com/go-chi/chi/v5 v5.0.8
go: downloading github.com/spf13/viper v1.21.0
go: downloading github.com/lib/pq v1.11.1
go: downloading github.com/fsnotify/fsnotify v1.9.0
go: downloading github.com/go-viper/mapstructure/v2 v2.4.0
go: downloading github.com/sagikazarmark/locafero v0.11.0
go: downloading github.com/spf13/afero v1.15.0
go: downloading github.com/spf13/cast v1.10.0
go: downloading github.com/spf13/pflag v1.0.10
go: downloading golang.org/x/sys v0.29.0
go: downloading github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8
go: downloading golang.org/x/text v0.28.0
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/pelletier/go-toml/v2 v2.2.4
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading go.yaml.in/yaml/v3 v3.0.4
go: github.com/Amad3eu/api-pstg-go/handlers imports
	http: package http is not in std (/opt/containerbase/tools/golang/1.25.6/src/http)
go: github.com/Amad3eu/api-pstg-go/handlers imports
	json: package json is not in std (/opt/containerbase/tools/golang/1.25.6/src/json)
go: github.com/Amad3eu/api-pstg-go/handlers imports
	models: package models is not in std (/opt/containerbase/tools/golang/1.25.6/src/models)
go: github.com/Amad3eu/api-pstg-go/handlers imports
	srtconv: package srtconv is not in std (/opt/containerbase/tools/golang/1.25.6/src/srtconv)

@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 199202c to 8a78005 Compare October 27, 2024 06:22
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Dec 17, 2024
@renovate renovate bot closed this Dec 17, 2024
@renovate renovate bot deleted the renovate/github.com-lib-pq-1.x branch December 17, 2024 15:48
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Dec 17, 2024
@renovate renovate bot reopened this Dec 17, 2024
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 2e1ecbf to 8a78005 Compare December 17, 2024 19:18
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Jan 17, 2025
@renovate renovate bot closed this Jan 17, 2025
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Jan 17, 2025
@renovate renovate bot reopened this Jan 17, 2025
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Jan 22, 2025
@renovate renovate bot closed this Jan 22, 2025
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Jan 22, 2025
@renovate renovate bot reopened this Jan 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 0044308 to 8a78005 Compare January 22, 2025 21:54
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Feb 4, 2025
@renovate renovate bot closed this Feb 4, 2025
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Feb 4, 2025
@renovate renovate bot reopened this Feb 4, 2025
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 4d2c060 to 8a78005 Compare February 4, 2025 05:34
@renovate renovate bot reopened this May 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from fdd6eae to 8a78005 Compare May 20, 2025 17:13
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Jun 3, 2025
@renovate renovate bot closed this Jun 3, 2025
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Jun 3, 2025
@renovate renovate bot reopened this Jun 3, 2025
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from aeb53e0 to 8a78005 Compare June 3, 2025 06:15
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Aug 19, 2025
@renovate renovate bot closed this Aug 19, 2025
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Aug 19, 2025
@renovate renovate bot reopened this Aug 19, 2025
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 7790355 to 8a78005 Compare August 19, 2025 04:53
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 8a78005 to 84c00f5 Compare September 30, 2025 12:34
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Oct 9, 2025
@renovate renovate bot closed this Oct 9, 2025
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Oct 9, 2025
@renovate renovate bot reopened this Oct 9, 2025
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch 2 times, most recently from 84c00f5 to 2d16559 Compare October 9, 2025 21:01
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.10.9 - autoclosed Jan 23, 2026
@renovate renovate bot closed this Jan 23, 2026
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 - autoclosed Update module github.com/lib/pq to v1.10.9 Jan 23, 2026
@renovate renovate bot reopened this Jan 23, 2026
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch 3 times, most recently from 27829ce to 60ee67c Compare January 29, 2026 01:41
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.10.9 Update module github.com/lib/pq to v1.11.0 Jan 29, 2026
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 60ee67c to 8de4804 Compare January 29, 2026 14:14
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.11.0 Update module github.com/lib/pq to v1.11.1 Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant