Skip to content

Fatal error on SQLite to PostgreSQL migration #921

Closed
@superDuperCyberTechno

Description

@superDuperCyberTechno

Using v. 3.5.2 (from the official Ubuntu repos) I tried migrating a SQLite database into PostgreSQL:

pgloader database.sqlite postgresql:///test

The SQLite DB has been populated by the PHP framework Laravel.

pgloader returned the following error:

FATAL error: At

  double precision
         ^ (Line 1, Column 7, Position 7)

In context SQLITE-TYPE-NAME:

While parsing SQLITE-TYPE-NAME. Expected:

     the character Space
  or the character ( (LEFT_PARENTHESIS)
  or the string "auto_increment"
  or the string "native"
  or the string "nocase"
  or the string "short"
  or the string "unsigned"
  or the string "varying"
An unhandled error condition has been signalled: At

  double precision
         ^ (Line 1, Column 7, Position 7)

In context SQLITE-TYPE-NAME:

While parsing SQLITE-TYPE-NAME. Expected:

     the character Space
  or the character ( (LEFT_PARENTHESIS)
  or the string "auto_increment"
  or the string "native"
  or the string "nocase"
  or the string "short"
  or the string "unsigned"
  or the string "varying"




What I am doing here?

At

  double precision
         ^ (Line 1, Column 7, Position 7)

In context SQLITE-TYPE-NAME:

While parsing SQLITE-TYPE-NAME. Expected:

     the character Space
  or the character ( (LEFT_PARENTHESIS)
  or the string "auto_increment"
  or the string "native"
  or the string "nocase"
  or the string "short"
  or the string "unsigned"
  or the string "varying"

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