Re: Adding data from mysql to postgresql periodically

From: franrtorres77 <franrtorres77(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Adding data from mysql to postgresql periodically
Date: 2010-11-15 10:54:17
Message-ID: 1289818457062-3265406.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hello again.

Well, the data that I want to import is some satellite coordinates saved in
mysql , the fields are X and Y and want to import them into a postgis table
for converting these coordinates to a normal latitude and longitude points
because in mysql are saved in Utm format.

I have foound an example for connecting to mysql using perl, but i would
prefer using a query in postgresql but I think it will be necessary firstly
create a linking connection with the mysql db. I did it with sql server but
in postgresql dont know how to do it.

The other way to do it, exporting the data to a csv file, would be an
acceptable solution, and also an easiest way to perform the operation.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Adding-data-from-mysql-to-postgresql-periodically-tp3264392p3265406.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Willy-Bas Loos 2010-11-15 11:11:18 generate query string in trigger func
Previous Message Magnus Hagander 2010-11-15 10:42:23 Re: Postgres forums ... take 2