Re: Select Database

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: "ON(dot)KG" <skyer(at)on(dot)kg>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Select Database
Date: 2004-12-02 21:17:54
Message-ID: 41AF8682.4080003@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-general

On 12/2/2004 4:39 AM, ON.KG wrote:

> Hi All!
>
> How could I select another database without new connection?
>
> For example, in PHP+MySQL we have mysql_select_db('database_name');

You can't. An existing session cannot change the database connected to.

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message ON.KG 2004-12-03 07:14:50 Re: Select Database
Previous Message EMS HiTech Team 2004-12-02 12:07:56 EMS PostgreSQL Manager 2.7 released

Browse pgsql-general by date

  From Date Subject
Next Message Gary Winslow 2004-12-02 21:26:22 PostgresSQL Beta 5 Install Problem on Windows Server 2003
Previous Message Marc G. Fournier 2004-12-02 21:08:23 Re: List archives not being updated?