Skip to content

Update module github.com/lib/pq to v1.11.1 - abandoned#194

Open
renovate[bot] wants to merge 26 commits intomainfrom
renovate/github.com-lib-pq-1.x
Open

Update module github.com/lib/pq to v1.11.1 - abandoned#194
renovate[bot] wants to merge 26 commits intomainfrom
renovate/github.com-lib-pq-1.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 8, 2026

This PR contains the following updates:

Package Type Update Change Pending OpenSSF
github.com/lib/pq require minor v1.10.9v1.11.1 v1.11.2 OpenSSF Scorecard

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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).


Configuration

📅 Schedule: Branch creation - Only on Sunday ( * * * * 0 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

Enhance the Kubernetes controller release workflow and add OCM component
version creation.

Key changes:
- Add component version creation to controller build/release pipeline
- Add version_conflict_policy input to publish workflow
- Move inline bash scripts to external scripts for maintainability
  and add unit tests
- Add shared script utilities with npm-based YAML parsing
- move buildx from workflow to Taskfile
- Add image digest field to Helm values.yaml and manager.yaml
- Add push/verify tasks to Taskfile
- Fix RC tag idempotency with proper tag fetching
- Remove skopeo installation (pre-installed on ubuntu-latest)
- Remove redundant status-check job and cleanup step

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
@renovate
Copy link
Author

renovate bot commented Mar 8, 2026

⚠️ 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: undefined
Post-upgrade command './.github/scripts/renovate-post-upgrade.sh' has not been added to the allowed list in allowedCommands

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
…r). Add cliff-toml for controller

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from db10638 to 1db2c1e Compare March 8, 2026 14:25
morrison-sap and others added 2 commits March 8, 2026 15:41
…ller to cliff.toml

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
correct sparse checkout and add small installation section for contro…
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 1db2c1e to 9af1a7c Compare March 8, 2026 14:50
morrison-sap and others added 2 commits March 8, 2026 15:57
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 9af1a7c to ec92cad Compare March 8, 2026 15:02
morrison-sap and others added 2 commits March 8, 2026 16:51
…or "Verify Chart" and not found /.env files during sourcing

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
introduce .dotenv to avoid racing conditions (see failing workflows f…
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from ec92cad to 4c56c35 Compare March 8, 2026 15:55
morrison-sap and others added 2 commits March 8, 2026 16:58
…th local ones

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
remove dotenv, but keep method for replacing global too env values wi…
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 4c56c35 to 00a9e98 Compare March 8, 2026 16:02
morrison-sap and others added 3 commits March 8, 2026 17:06
…variables.

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
…variables.

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
don't trust sourcing as task sh evalution may use empty/partial task …
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 00a9e98 to e3cbce3 Compare March 8, 2026 16:12
morrison-sap and others added 2 commits March 8, 2026 18:20
…g. running on forks)

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
enable repository to be configured vor test and productive values (e.…
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from e3cbce3 to f449789 Compare March 8, 2026 17:29
morrison-sap and others added 4 commits March 8, 2026 18:32
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from f449789 to 22be183 Compare March 8, 2026 18:09
@renovate renovate bot changed the title fix(deps): update module github.com/lib/pq to v1.11.1 Update module github.com/lib/pq to v1.11.1 Mar 8, 2026
morrison-sap and others added 2 commits March 8, 2026 19:57
…" in case on running on a fork.

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
make RC and final flow both use IMAGE_REPOSITORY="${IMAGE_REPOSITORY}…
@renovate renovate bot force-pushed the renovate/github.com-lib-pq-1.x branch from 22be183 to 481c960 Compare March 9, 2026 08:10
@renovate renovate bot changed the title Update module github.com/lib/pq to v1.11.1 Update module github.com/lib/pq to v1.11.1 - abandoned Mar 9, 2026
@renovate
Copy link
Author

renovate bot commented Mar 9, 2026

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants