DOUBLE PRECISION
by default (#194).dbWriteTable(copy = FALSE)
, sqlData()
and dbAppendTable()
now work for character columns (#209), which are always converted to UTF-8.timezone
argument to dbConnect()
(#187, @trafficonese).dbGetInfo()
for the driver and the connection object.dbConnect()
gains check_interrupts
argument that allows interrupting execution safely while waiting for query results to be ready (#193, @zozlak).dbUnquoteIdentifier()
also handles unquoted identifiers of the form table
or schema.table
, for compatibility with dbplyr. In addition, a catalog
component is supported for quoting and unquoting with Id()
.dbQuoteLiteral()
available for "character"
(#209).dbAppendTable()
(r-dbi/DBI#249).POSIXt
timestamps (#191).sqlData(copy = FALSE)
now uses dbQuoteLiteral()
(#209).dbUnquoteIdentifier()
(#220, @baileych).REAL
to DOUBLE PRECISION
(#204, @harvey131).dbAppendTable()
for own connection class, don’t hijack base class implementation (r-dbi/RMariaDB#119).DbResult
and other classes with RSQLite and RMariaDB.std::mem_fn()
by boost::mem_fn()
which works for older compilers.std::mem_fun_ref()
by std::mem_fn()
.bigint
argument to dbConnect()
, supported values are "integer64"
, "integer"
, "numeric"
and "character"
. Large integers are returned as values of that type (r-dbi/DBItest#133).temporary
and fail_if_missing
(default: TRUE
) to dbRemoveTable()
(r-dbi/DBI#141, r-dbi/DBI#197).dbCreateTable()
and dbAppendTable()
internally (r-dbi/DBI#74).field.types
argument to dbWriteTable()
now must be named.current_schemas(true)
also in dbListObjects()
and dbListTables()
, for consistency with dbListFields()
. Objects from the pg_catalog
schema are still excluded.dbListFields()
doesn’t list fields from tables found in the pg_catalog
schema.dbListFields()
method now works correctly if the name
argument is a quoted identifier or of class Id
, and throws an error if the table is not found (r-dbi/DBI#75).format()
method for SqliteConnection
(r-dbi/DBI#163).Id()
, DBI::dbIsReadOnly()
and DBI::dbCanConnect()
.dbGetException()
is no longer reexported from DBI.dbFetch()
and dbGetQuery()
. Values of unknown type are returned as character vector of class "pq_xxx"
, where "xxx"
is the “typname” returned from PostgreSQL. In particular, JSON
and JSONB
values now have class "pq_json"
and "pq_jsonb"
, respectively. The return value of dbColumnInfo()
gains new columns ".oid"
(integer
), ". known"
(logical
) and ".typname"
(character
) (#114, @etiennebr)."integer64"
are now supported for dbWriteTable()
and dbBind()
(#178).dbListObjects()
, dbUnquoteIdentifier()
and Id()
.x
argument to dbQuoteIdentifier()
are preserved in the output (r-lib/DBI#173).dbGetQuery()
) are now exported, even if the package doesn’t provide a custom implementation (#168).timegm()
with private implementation.PQcancel()
if the query hasn’t completed, fixes transactions on Amazon RedShift (#159, @mmuurr).Initial release, compliant to the DBI specification.
bit64
package. This also means that numeric literals (as in SELECT 1
) are returned as 64-bit integers. The bigint
argument to dbConnect()
allows overriding the data type on a per-connection basis.row.names = FALSE
.