From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | David Eduardo Gomez Noguera <davidgn(at)servidor(dot)unam(dot)mx> |
Cc: | pgsql-general(at)postgresql(dot)org, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] connect with ecpg |
Date: | 2002-02-25 07:47:25 |
Message-ID: | 20020225074725.GA4327@feivel.credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Sun, Feb 24, 2002 at 08:34:44PM -0600, David Eduardo Gomez Noguera wrote:
> I saw on the docs that connect has a parameter "as dbase_name". I supose
> this is to differentiate between two connections. Now, how do i use that
Yes.
> in subsequent sql commands? how do i tell a query is for connection A or
> B?
With the AT command:
EXEC SQL AT A SELECT ...
Michael
--
Michael Meskes
Michael(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2002-02-25 07:59:00 | Re: About functions |
Previous Message | Martijn van Oosterhout | 2002-02-25 07:34:00 | Re: Need to vacuum multiple times for effectiveness? |
From | Date | Subject | |
---|---|---|---|
Next Message | Karel Zak | 2002-02-25 09:26:20 | Re: elog() proposal |
Previous Message | Stephan Szabo | 2002-02-25 07:41:01 | Re: 7.2 stuff |