Releases: r-dbi/RPostgres
Releases · r-dbi/RPostgres
RPostgres 1.4.8
RPostgres 1.4.7
Features
- Breaking change: Avoid appending a numeric suffix to duplicate column names (#463).
Bug fixes
dbWriteTable()correctly handles name clashes between temporary and permanent tables (#402, #431).- Fix
dbQuoteIdentifier()forId()objects to no longer rely on names (#460).
Chore
- Bump preferred libpq version on MacOS to 15 (#441, #465).
- Refactor
dbListTables()et al. (@dpprdan, #413). - Refactor
list_fields()(#462). - Use
Idinexists_table()(#461).
Documentation
Testing
RPostgres 1.4.6
Breaking changes
Bug fixes
- Use
NULLin favor ofNULL::textwhen quoting strings and literals, to support JSON and other text-ish types. Fixes a regression introduced in #370 (#393, #425).
Features
-
dbQuoteLiteral()correctly quotes 64-bit integers from the bit64 package (of class"integer64") (@karawoo, #435, #436). -
Breaking change:
dbListObjects()only allowsId()objects asprefixargument (@dpprdan, #390).
Libraries
Documentation
Testing
- Close result set.
Internal
- Replace Rcpp by cpp11 (@Antonov548, #419).
RPostgres 1.4.5
Features
-
Upgrade boost to 1.81.0-1 to fix sprintf warnings (#417).
-
One-click setup for https://gitpod.io (@Antonov548, #407).
-
Use testthat edition 3 (#408).
RPostgres 1.4.4
RPostgres 1.4.3
RPostgres 1.4.2
Features
dbWriteTable()uses savepoints for its transactions, even if an external transaction is open. This does not affect Redshift, because savepoints are not supproted there (#342).- With
dbConnect(check_interrupts = TRUE), interrupting a query now gives a dedicated error message. Very short-running queries no longer take one second to complete (#344).
Bug fixes
dbQuoteLiteral()correctly quotes length-0 values (#355) and generates typedNULLexpressions forNAvalues (#357).- The
SET DATESTYLEquery sent after connecting uses quotes for compatibility with CockroachDB (#360).
Internal
RPostgres 1.4.1
Bug fixes
- Avoid crash by dereferencing 0-size vector (#343).
RPostgres 1.4.0
Features
Redshift()connections now adhere to almost all of the DBI specification when connecting to a Redshift cluster. BLOBs are not supported on Redshift, and there are limitations with enumerating temporary and persistent tables (#215, #326).dbBegin(),dbCommit()anddbRollback()gainnameargument to support savepoints. An unnamed transaction must be started beforehand (#13).dbWriteTable()uses a transaction (#307).dbSendQuery()gainsimmediateargument. Multiple queries (separated by semicolons) can be passed in this mode, query parameters are not supported (#272).dbConnect(check_interrupts = TRUE)now aborts a running query faster and more reliably when the user signals an interrupt, e.g. by pressing Ctrl+C (#336).dbAppendTable()gainscopyargument. If set toTRUE, data is imported viaCOPY name FROM STDIN(#241, @hugheylab).- Postgres
NOTICEmessages are now forwarded as proper R messages and can be captured and suppressed (#208).
Bug fixes
dbQuoteLiteral()converts timestamp values to input time zone, used when writing tables to Redshift (#325).
Internal
- Skip timestamp tests on i386 (#318).
dbSendQuery()anddbQuoteLiteral()use single dispatch (#320).dbWriteTable()anddbAppendTable()default tocopy = NULL, this translates toTRUEforPostgres()andFALSEforRedshift()connections (#329).