Search Postgresql Archives

Re: Reading from Mysql & writting in PGsql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 27, 2005 at 03:27:48PM -0800, Mohsen Pahlevanzadeh wrote:

> Dears,I need to read 1 field with select command from mysql.  Then
> Write it to pgsql.  Please guide me.....

If you need to do this directly, look into dbi-link.

http://pgfoundry.org/projects/dbi-link/

There are conversion tools in contrib: my2pg.pl and mysql2pgsql, and
of course you can use the database-independent access in your favorite
scripting language (DBI.pm in perl, for example) to attach to both
databases, then stream from one to the other.

HTH :)

Cheers,
D
-- 
David Fetter david@xxxxxxxxxx http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux