Returns an object idenfier (Oid) for the imported large object
postgresImportLargeObject(conn, filepath = NULL, oid = 0)a PqConnection object, produced by
DBI::dbConnect()
a path to the large object to import
the oid to write to. Defaults to 0 which assigns an unused oid
the identifier of the large object, an integer
if (FALSE) { # \dontrun{
con <- postgresDefault()
filepath <- 'your_image.png'
dbWithTransaction(con, {
oid <- postgresImportLargeObject(con, filepath)
})
} # }