Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6UQT1YMBMS1pVwH4X
Question: Is a release warranted now, and with what content?CRAN's 1.4.10 is clean on all 13 flavors and has no deadline. None of the 111 commits since then is user-facing: they cover CI, chores and docs. A release now would ship only a condensed NEWS section that says "internal changes", unless something user-facing lands first. The candidates are the low-risk PRs (#585
This is the maintainer's call. If nobody decides, nothing is released and the review stays on this PR. Generated by Claude Code |
Resolved: When should RPostgres adopt the release workflows?The handbook wants the release tooling on
Answer, relayed from Kirill's instruction on 2026-11-28: "bring in the release workflows and … update workflows from cynkratemplate". Both go in as separate PRs against Generated by Claude Code |
Question: Does #581 (SQLSTATE and diagnostic fields on errors) go into the next release?#581 by an external contributor implements #579.
It is the only substantive user-facing change on offer.
If nobody decides, it stays deferred. Generated by Claude Code |
Question: Which low-risk PRs land before the cut?Each line is a separate decision. Ticking a line means "land it before the cut", and an unticked line means it is deferred.
The others (#539, #414) are deferred, and #581 has its own question. If nobody decides, only already-merged work ships. Generated by Claude Code |
Question: Should the stale PRs and support-type issues be closed?Closing an item means a comment on a thread that other people watch, so this session does it only on an explicit ask. Each close would get a comment that says why and links what supersedes it. The candidates:
The options:
If nobody decides, nothing is closed. None of these affects the release. Generated by Claude Code |
Pre-release review for the next CRAN release of RPostgres. Each decision is a question comment below.
Release 1.5.0: resubmitted to CRAN on 2026-12-01
Resubmitted commit:
f336d37c9643e62767b3c62b3844a040410f389bDBI (>= 1.4.0)and every fixable finding of the release gate fixed (submission run, checklist chore: Resubmit RPostgres 1.5.0 #684). The gate,rcc, R-hub and the dry run were green on that head; macbuilder was down all night; win-builder's results go to the maintainer by email.Release 1.5.0: first submission on 2026-11-30
Submitted commit:
c324cdb125f10b751240be53472583d5f908847dChecklist PR: chore: Release RPostgres 1.5.0 #677, merged into
mainafter the submission. Draft release, targeting the submitted commit and holding the checked tarball: draft. The development bump chore: Bump version to 1.5.0.9000 #682 is merged.CRAN: Kirill reported on 2026-11-30 that win-builder's check of the submission came back clean. CRAN still listed the previous version when checked at about 07:00 UTC on 2026-11-30.
Builders: win-builder: 1 NOTE.
https://stat.ethz.ch/mailman/listinfo/r-sig-dbin README.md timed out. The list is dead, so docs: Remove the dead R-SIG-DB mailing list link #683 removes the link. macbuilder: the upload got HTTP 502, so it did not run (builders run).The release gate reports URL problems only as soft warnings, and it labels a urlchecker 2.x finding "not run". The fix is fix: Report URL findings of urlchecker 2.x in the release gate krlmlr/r-release-actions#14 (reviewed, ready).
Resubmission, as Kirill asked on 2026-11-30, with a
DBI (>= 1.4.0)requirement and the other fixes: release branchv1.5-reedcut at the submitted commit, checklist chore: Resubmit RPostgres 1.5.0 #684, fixes fix: Fix the release gate's findings for the resubmission of 1.5.0 #686 (DBI >= 1.4.0, dead link, every fixable gate finding; reviewed, ready). It waits for DBI 1.4.0 on CRAN; until then CI cannot install DBI 1.4.0.maingets the DBI bump and the URL fixes when the resubmission branch is merged after the resubmission; chore: Require DBI >= 1.4.0 #685 and the earlier URL PR were closed in favour of fix: Fix the release gate's findings for the resubmission of 1.5.0 #686.Driven by https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89.
Related PRs
release-gate.yaml,cran-submission.yaml,release-status.yaml,builders.yaml), which callkrlmlr/r-release-actions@main. Its two questions (pinning@main, tarball selection) are still unanswered in its comments.commitinput and release comment, r-universe dev installs, revdep defaultwhich: most).NEWS.md, which switches off the fledge workflow.NEWS.mdentries for the changes below are therefore written by hand.Findings (checked 2026-11-28)
New since 2026-11-28, user-facing (on
mainas of 2026-11-29 19:10 UTC): fix: Reexport the Arrow generics from DBI #634 (reexport the Arrow generics from DBI), fix: Remove dead WindowsWSAStartup()workaround #647 (remove the dead WindowsWSAStartup()workaround), fix: Explain how to bind a named stream indbBindArrow()#658 and fix: Bind a nanoarrow stream inparamswithdbBindArrow()#662 (dbBindArrow()with named streams and nanoarrowparams), fix: Never pass column names or server messages as a printf format #665 (never pass column names or server messages as a printf format), fix: Raise warnings only after the C++ code is done with the result #669 (warnings from C++ are raised only after the C++ code is done, fixing crashes from calling handlers, Warnings and notices signaled from C++ run handlers that can free the result or close the connection #668), feat: Expose the PostgreSQL SQLSTATE and diagnostic fields on errors #666 and feat!: Show the internal query and statement excerpt in server errors #671 (server errors are classed rlang errors with SQLSTATE and diagnostic fields as bullets; breaking for code that matches the old message text, merged asfeat!:), fix: Add acleanupscript that removessrc/Makevarsandconfigure.log#585 (cleanupscript). Docs and build: docs: State the goals and non-goals #607, docs: DeriveREADME.mdfrom aREADME.Rmd#609 (README.Rmd), build: Use vendored Boost with Rtools and droplogging.cppfromCMakeLists.txt#656, chore: Exclude vendored and generated code from clang-format #630. This changes the answer to "nothing forces a release" below: there is substantial user-facing content, including a breaking change in error messages.NEWS.mdis now maintained by hand and has no entries for these yet; the NEWS/revdep question for the breaking change is feat!: Show the internal query and statement excerpt in server errors #671 (comment).Also on
mainsince then (as of 2026-11-29 20:10 UTC): feat: Do not enforce types when preparing query for compatibility with pg_duckdb #539 and fix: Refresh the column types of empty results from prepared queries #676 (pg_duckdb compatibility for prepared queries, fixes "! Multiple queries must use the same column names." when issuing a query against a Postgres server running with the pg_duckdb extension #526; no regression test or NEWS entry yet), fix: Parseinfinity, BC dates, and years beyond 9999 in dates and timestamps #660 (dates and timestamps:infinity, BC, years beyond 9999), refactor: Fetch rows through a pluggable row sink #638 (row-sink refactor of the fetch path), docs: Explain the default socket directory ofdbConnect()#673 (docs: default socket directory, closes Error in dbConnect(): linux socket location moved #564), docs: Show how to find tables in a non-default schema #675 (docs: tables in a non-default schema, closes List tables in schema with dbListTables #399), docs: Correct the README's design notes on connections and results #672 (README design notes). Open and relevant: feat: LetpostgresDefault()andpostgresHasDefault()find a local server like other clients #553 (postgresDefault()respecting libpq defaults, draft, on hold), docs: Design ALTREP-backed result columns #632/docs: Design binary result transport #667 (ALTREP and binary transport designs).CRAN: 1.4.10, published 2026-02-16. All 13 flavors are OK, with no additional issues and no deadline (check results). Nothing forces a release.
Changes since 1.4.10: 111 commits on
main(v1.4.10..main), and none of them is user-facing. They cover CI (cynkratemplate syncs, Ubuntu 26.04, hardening, revdep workflows), chores (chore: Tidy DESCRIPTION with usethis::use_tidy_description() #621, chore: Declare every vignette builder in DESCRIPTION #622), docs (Is the code coverage badge pointing at the wrong target? #599, docs: Usepak::pak()for the development install #602, docs: Point the coverage badge at the branch that exists #605, docs: Break lines at meaning boundaries #606) and testing (test: Drop the unused astyle helper #614, and test: Run the DBItest specs up to 1.9.0 #629 since, which runs the DBItest specs up to 1.9.0). The 1.4.10.9000 section ofNEWS.mdrepeats the 1.4.9 entries brought in by the merged tag, so that duplicate should go when the section is condensed.r-universe: 1.4.10.9020 builds OK on 14 of 15 configs. Only wasm-release fails (api), and its log is not checked yet. This is not a CRAN concern.
CI on
main:FAIL 0 | WARN 0 | SKIP 69 | PASS 8521, so the Postgres-backed tests ran. The 69 skips are DBItest version gates and arrow round-trips. These figures predate test: Run the DBItest specs up to 1.9.0 #629, which changes the DBItest gates; not rechecked yet.rcc devhas been red daily since 2026-11-22. The cause is a missing r-universe binary index forlinux/resolute-x86_64/4.6, which is infrastructure, not the package. ci: Sync the workflows with cynkra/cynkratemplate #627 changes how the dev versions are installed.Reverse dependencies:
revdep,revdep2andrevdep4have never run on this repository, and there is norevdep/folder. The first revdep run happens at the Check step.Release toolkit adoption
R-CMD-check.yamlis identical to RSQLite's, so thecran-submissioninput and the tarball build job are already in place.NEWS.mdheadings all carry dates,_pkgdown.ymlhascran_dates: false, andVignetteBuilderlists knitr and rmarkdown (#622).NEWS.md, in chore: Drop the fledge marker from NEWS.md #628 (moved ahead of the cut on Kirill's instruction).mainbefore release day.Open PRs
README.mdfrom aREADME.Rmd#609README.Rmdpipeline: defer. It is stacked on docs: State the goals and non-goals #607 and not needed for CRAN.cleanupscript that removessrc/Makevarsandconfigure.log#585cleanupscript plus ghcr fix: include after a rebase. Keepcleanup, which removesconfigure.logandsrc/Makevarsfrom the build tree, and drop the hunk for the deletedghcr.yaml. It conflicts today.dbListTables()schema docs (external contributor): include if the examples thatDROP SCHEMA ... CASCADEare acceptable. They are guarded bypostgresHasDefault(). The contributor asked about theformat-suggestfailure, which comes from a missing upstream action path.postgresDefault()andpostgresHasDefault()find a local server like other clients #553postgresHasDefault()message (Copilot, draft): include if it is un-drafted, since it changes only a message. Otherwise it waits on AlignpostgresDefault()with other Postgres libraries #552.main.dbListTables()lists materialized views #414 materialized views indbListTables(): defer. It conflicts, its API questions are open, and it has been stale since 2024-04.dbWriteTable()(draft): close. It is Rcpp-era and its design is superseded by the proposedpostgresAppendTableCSV().Open issues (27)
None blocks a release: none is a regression, a CRAN problem or a crash in released code.
Defer, as features or design questions: Expose SQLSTATE (and other diagnostic fields) on error conditions #579 (via feat: expose PostgreSQL SQLSTATE and diagnostic fields on errors #581), Align
postgresDefault()with other Postgres libraries #552, Support for OAuth Authorization #528 (OAuth), Option to convert "enum" types to factor or character? #455 (enums as character), RPostgres should respect system timezone rather than default to UTC #452 (session time zone), List tables in schema with dbListTables #399, Schema with DBI::Id appears not to work withdbListTables#432,dbListObjects()does not list empty schemata #388, Non-blocking queries #299 (async), materialized views in dbListTables() #251 (via feat:dbListTables()lists materialized views #414), Support for QuestDB - SAVEPOINT exclusion #482 (QuestDB), Connection attempt to arcadedb (supports the Postgres wire format for connection and queries) fails with "received invalid response to GSSAPI negotiation: R" #363 (arcadedb GSSAPI).Defer, as bugs without a fix ready: User defined ENUM types are
NA#509 (user-defined enums becomepq_NA), Curious bug with transaction anddbSendQuery()#424 (transaction plusdbSendQuery()), dbGetQuery failing due to stale Redshift OIDs #469 (Redshift stale OIDs), "! Multiple queries must use the same column names." when issuing a query against a Postgres server running with the pg_duckdb extension #526 (via feat: Do not enforce types when preparing query for compatibility with pg_duckdb #539), pgpass not used? #527 (pgpass), Error in dbConnect(): linux socket location moved #564 (default socket directory).Defer, but worth a look: Are limitations of select() hurting us? #397.
select()is still used insrc/DbConnection.cpp:340andsrc/PqResultImpl.cpp:597, andFD_SETon a descriptor ≥ 1024 is undefined behavior.Close candidates, as support questions or stale items: I'm trying to connect to a Neon DB hosted behind a Replit deployment, result: "Error:" #476, Configuration failed because libpq was not found. #468, Something wrong with the 1.4.5 Mac binary on CRAN with Redshift #441 (the 1.4.5 mac binary), using databases.pacha.dev for testing #422, vendoring cpp11 headers #450 (vendoring cpp11), How to deal with
pq__varcharcolumns #444, INSERT with placeholders via dbExecute does not work #391 (placeholders are$1), Unable to create table with logical column #430 (docs).Closing these means commenting on threads other people watch, so it waits for an explicit ask.
https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Generated by Claude Code