'moving' from one database to another

From: Jean MAURICE <mauricejea(at)numericable(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: 'moving' from one database to another
Date: 2013-08-03 19:06:24
Message-ID: 51FD54B0.4040806@numericable.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

As I explained, I am trying to built a complete Postgres database from within
VFP through ODBC.

When I start with 'nothing' (I mean Postgres is installed), I connect to the
database 'postgres'. I can then test if the database I want is already built and
I build it if not.

But once it is built, can I 'move' from the default database to my new database
with a command OR must I disconnect from postgres and reconnect to my new
database ? In Visual Foxpro, we have a command "SET DATABASE TO mydatabase" and
it is exactly what I want to do !

Thanks in advance

--
Jean MAURICE
Grenoble - France - Europe
www.j-maurice.fr
www.atoutfox.org
www.aedtf.org

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Kevin Grittner 2013-08-03 19:20:20 Re: 'moving' from one database to another
Previous Message Jean MAURICE 2013-08-03 18:08:36 Re: really novice with Postgres !