pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Changing a database
2+ messages / 2 participants
[nested] [flat]

* Changing a database
@ 2005-09-21 01:55 Amarsh M <amarshm@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Amarsh M @ 2005-09-21 01:55 UTC (permalink / raw)
  To: pgsql-odbc

Hi all,
 I was wondering if there was a way to change the database in PostGresql 
using ODBC, kinda like the \c command on the psql prompt. I tried many 
changes but none work. Any ideas ? should be a pure SQL statement I guess.
 Thanks in advance
A

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Changing a database
@ 2005-09-21 07:51 Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Page @ 2005-09-21 07:51 UTC (permalink / raw)
  To: amarshm@gmail.com; pgsql-odbc

 


________________________________

	From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Amarsh M
	Sent: 21 September 2005 02:56
	To: pgsql-odbc@postgresql.org
	Subject: [ODBC] Changing a database
	
	
	Hi all,
	 
	I was wondering if there was a way to change the database in
PostGresql using ODBC, kinda like the \c command on the psql prompt. I
tried many changes but none work. Any ideas ? should be a pure SQL
statement I guess. 
	 

No, this is not possible. You need to open an new connection.
 
Regards, Dave.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-09-21 07:51 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-21 01:55 Changing a database Amarsh M <amarshm@gmail.com>
2005-09-21 07:51 Re: Changing a database Dave Page <dpage@vale-housing.co.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox