Re: mysql2postgres has no documentation? - Mailing list pgsql-general

From joseph speigle
Subject Re: mysql2postgres has no documentation?
Date
Msg-id 20040630084827.B21531@hovey.hoveymotorcars.com
Whole thread Raw
In response to mysql2postgres has no documentation?  (Prabu Subroto <prabu_subroto@yahoo.com>)
List pgsql-general
> I have dump my databases qith mysqldump and put the
> result in a file ( named basisdata ).
>
> In order to make it be possible to be reloaded with
> psql, I want to convert the file with
> "mysql2pgsql.perl" tool.
>
> But I don't know the syntax.
>
> I tried this :
> "
> mysql2pgsql.perl basisdata
> "
PUT perl IN FRONT OF mysql2pgsql.perl
for example:
[www mysql2psql]$ perl mysql2pgsql.perl
Usage: mysql2pgsql.perl [-v|--h] mysql_dump_file [pg_database_name]

        * mysql_dump_file is the filename of the mysql dump.
        * pg_database_name is the name of the postgres database.
          When ommitted standard output is used.
          Combined with -v, it will tell you what SQL
          commands are being executed
[joe@www mysql2psql]$


pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: DML Restriction unless through a function
Next
From: joseph speigle
Date:
Subject: substring syntax with regexp