Closed karawoo closed 1 year ago
Thanks. If we support this in dbDataType()
, we should also make sure to support it with dbBind()
and perhaps dbWriteTable()
. I wonder how much work that would be.
I believe it is already supported in those places as of v1.1.0 https://github.com/r-dbi/RPostgres/blob/main/NEWS.md#rpostgres-110-2018-04-04
Values of class "integer64" are now supported for dbWriteTable() and dbBind() (#178).
Thanks, good catch. I agree that we should definitely fix dbDataType()
.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
I noticed that
dbQuoteLiteral()
casts integer64 values as floats:I'd expect
<SQL> 1::int8
instead. Would you consider a PR to support bigints here?