Re: Version 1 Calling convention

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Jasbinder Bali <jsbali(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: Re: Version 1 Calling convention
Date: 2006-08-30 08:37:53
Message-ID: 20060830083753.GH13929@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

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(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GUNDUZ 2006-08-30 09:12:30 Status on Fedora Core Extras packaging
Previous Message Jasbinder Bali 2006-08-30 08:34:17 Re: Version 1 Calling convention

Browse pgsql-novice by date

  From Date Subject
Next Message Jasbinder Bali 2006-08-30 09:38:34 Re: Version 1 Calling convention
Previous Message Jasbinder Bali 2006-08-30 08:34:17 Re: Version 1 Calling convention