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: signature.asc
Description: Digital signature

Reply via email to