transfer database from Linux to Windows

From: Oleg <evdakov(at)iwk(dot)uka(dot)de>
To: pgsql-novice(at)postgresql(dot)org
Subject: transfer database from Linux to Windows
Date: 2005-12-20 15:54:15
Message-ID: 43A82927.6000409@iwk.uka.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Dear all,
How to copy all tables and views from Linux PostgreSQL to Windows? The
database under Linux is PostGIS enabled. By default pg_dump saves all
PostGIS's CREATE FUNCTION commands that are pointed to the Linux's *.so
files.
In order to properly create database under Windows I would like to do
following:
1. Create database under windows
2 create all functions pointing to *.dll using provided sql file
3 Backup all tables and views with their rools
4 Restore backup under Windows

Are those steps correct?
How do I perform steps 3 and 4?
Thanks a lot in advance
Oleg

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jaime Casanova 2005-12-20 16:20:49 Re: transfer database from Linux to Windows
Previous Message Tom Lane 2005-12-20 14:38:16 Re: problems restoring database from plain text backup from psql