how to insure libpq(dll/so) for thread-safety? - Mailing list pgsql-hackers

From wjzeng
Subject how to insure libpq(dll/so) for thread-safety?
Date
Msg-id guef6u$22ff$1@news.hub.org
Whole thread Raw
Responses Re: how to insure libpq(dll/so) for thread-safety?
List pgsql-hackers
Hi,



In pgsql/src/interfaces/libpq/fe-exec.c,  there are two variables:
---------
static int static_client_encoding = PG_SQL_ASCII;
static bool static_std_strings = false;

If enable_thread_safety is "no", how to insure libpq(dll/so) for 
thread-safety?

thanks

wjzeng




pgsql-hackers by date:

Previous
From: Cristina M
Date:
Subject: Problem with estimating pages for a table
Next
From: Tom Lane
Date:
Subject: Re: Implementation of GROUPING SETS (T431: Extended grouping capabilities)