Skip to content

PostgreSQL is broken #45

@beanumber

Description

@beanumber

One problem is that the dbWriteTable method from the RPostgreSQL package will not actually accept the HEADER flag (https://github.com/cran/RPostgreSQL/blob/master/R/PostgreSQLSupport.R#L570)
This breaks the current implementation.
Possible workarounds:

  • use the data.frame method -- but that will be slow and memory inefficient
  • don't write the header row in the CSV if you are using Postgres. Kludgy.
  • wait for @hadley et al to get the alternative RPostgres package working. This will probably be the long-term solution, but I don't know how long it will take.

I believe this problem applies to all etl packages that use the dbWriteTable character method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions