[GENERAL] Select Database

2004-12-02 Thread ON.KG
Hi All!

How could I select another database without new connection?

For example, in PHP+MySQL we have mysql_select_db('database_name');

Thanx


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [GENERAL] Select Database

2004-12-02 Thread Jan Wieck
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.  #
#== [EMAIL PROTECTED] #
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [GENERAL] Select Database

2004-12-02 Thread ON.KG
Thanx

JW 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');

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


JW Jan


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

   http://archives.postgresql.org