Skip to content

Are schemas supported? #2

Description

@arkanoid87

`~/s/pg_to_sqlite_convert ❯❯❯ java -jar postgresql-to-sqlite/pg2sqlite.jar -d 54039.dump -o 54039.db
19:55:36.574 [main] WARN c.github.caiiiycuk.pg2sqlite.Config$ - You should set SQLITE_TMPDIR environment variable to control where sqlite stores temp files
19:55:36.612 [main] INFO com.github.caiiiycuk.pg2sqlite.Boot$ - '54039.dump' (27 Mb) -> '54039.db'
19:55:37.875 [main] ERROR com.github.caiiiycuk.pg2sqlite.Boot$ -
Create Table - Exception:
unknown database schema
[SQL] 'CREATE TABLE schema.risorsa ([id], [macrorisorsa], [idinterno], [descrizione], [idtipo], [peso], [disponibile], [idstruttura], [annotaz], [dataultimamod]);'
[LINE #225] CREATE TABLE schema.risorsa ( "ID" integer NOT NULL, "macroRisorsa" smallint NOT NULL, "IDinterno" integer NOT NULL, descrizione text, "IDtipo" smallint NOT NULL,
peso smallint, disponibile boolean, "IDstruttura" smallint NOT NULL, annotaz text, "dataUltimaMod" date DEFAULT ('now'::text)::date NOT NULL );,

19:55:37.876 [main] ERROR com.github.caiiiycuk.pg2sqlite.Boot$ - Task failed...
~/s/pg_to_sqlite_convert ❯❯❯`

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions