Re: [GENERAL] Is is safe to use SPI in multiple threads? - Mailing list pgsql-general

From Andres Freund
Subject Re: [GENERAL] Is is safe to use SPI in multiple threads?
Date
Msg-id 20161209223758.fkueb6bwiszmuatv@alap3.anarazel.de
Whole thread Raw
In response to [GENERAL] Is is safe to use SPI in multiple threads?  (Qiu Xiafei <qiuxiafei@gmail.com>)
Responses Re: [GENERAL] Is is safe to use SPI in multiple threads?
List pgsql-general
On 2016-12-09 16:52:05 +0800, Qiu Xiafei wrote:
> 1. Is there a way to use SPI in multi-thread style?

No.

> 2. Another option is to use libpq, like normal clients do. Is libpq as
> efficient as SPI?

No.

- Andres


pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: [GENERAL] Windows installation - could not connect to server:Connection refused (0x0000274D/10061)
Next
From: Michael Paquier
Date:
Subject: Re: [GENERAL] Is is safe to use SPI in multiple threads?