Re: Version 1 Calling convention - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Version 1 Calling convention
Date
Msg-id 20060830083753.GH13929@svana.org
Whole thread Raw
In response to Re: Version 1 Calling convention  ("Jasbinder Bali" <jsbali@gmail.com>)
List pgsql-general
On Wed, Aug 30, 2006 at 04:34:17AM -0400, Jasbinder Bali wrote:
> How does the SPI manager know which database to connect using SPI_CONNECT()
> As there can be more than one datbase in the postgres server, how does it
> make out which database to connect as we don't specify the datbase name we
> intend to connect.

SPI only talks to the current database in the current transaction.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: "Jasbinder Bali"
Date:
Subject: Re: Version 1 Calling convention
Next
From: Devrim GUNDUZ
Date:
Subject: Status on Fedora Core Extras packaging