Releases: r-dbi/RPostgres
Releases · r-dbi/RPostgres
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
Id
inexists_table()
(#461).
Documentation
Testing
RPostgres 1.4.6
Breaking changes
Bug fixes
- Use
NULL
in favor ofNULL::text
when 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 asprefix
argument (@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 typedNULL
expressions forNA
values (#357).- The
SET DATESTYLE
query 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()
gainname
argument to support savepoints. An unnamed transaction must be started beforehand (#13).dbWriteTable()
uses a transaction (#307).dbSendQuery()
gainsimmediate
argument. 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()
gainscopy
argument. If set toTRUE
, data is imported viaCOPY name FROM STDIN
(#241, @hugheylab).- Postgres
NOTICE
messages 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 toTRUE
forPostgres()
andFALSE
forRedshift()
connections (#329).
Documentation
RPostgres 1.3.3
RPostgres 1.3.2
- Remove BH dependency by inlining the header files (#300).
- Use Autobrew if libpq is older than version 12 (#294, @jeroen).
dbConnect()
now issuesSET datestyle to iso, mdy
to avoid translation errors for datetime values with databases configured differently (#287, @baderstine).