Skip site navigation (1) Skip section navigation (2)

Re: Will PQregisterThreadLock() be documented?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Volkan YAZICI <volkan(dot)yazici(at)gmail(dot)com>,pgsql-docs(at)postgresql(dot)org,PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Will PQregisterThreadLock() be documented?
Date: 2005-10-24 15:38:17
Message-ID: 200510241538.j9OFcHn12116@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-patches
Tom Lane wrote:
> Volkan YAZICI <volkan(dot)yazici(at)gmail(dot)com> writes:
> > Revision 1.269: Wed Mar 24 03:44:59 2004 UTC by momjian
> > Branches: MAIN
> > ] Add thread locking to SSL and Kerberos connections.
> > ]
> > ] I have removed the docs mentioning that SSL and Kerberos are not
> > ] thread-safe.
> > ]
> > ] Manfred Spraul
> 
> I note that PQinitSSL is likewise documentation-free.
> 
> Also, neither one of these two routines is listed in exports.txt,
> meaning that Windows users are physically unable to call them
> even if they knew they existed :-(

I have applied the following patch to document PQinitSSL() and
PQregisterThreadLock().

I also remove the crypt() mention in the libpq threading section and
added a single sentence in the client-auth manual page under crypt(). 
Crypt authentication is so old now that a separate paragraph about it
seemed unwise.

I also added a comment about our use of locking around pqGetpwuid().

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-docs by date

Next:From: Bruce MomjianDate: 2005-10-24 18:09:04
Subject: Re: [PATCHES] Caveat for Domains
Previous:From: Michael FuhrDate: 2005-10-21 20:51:16
Subject: Re: Minor changed needed to doc on untrusted pl/perl example

pgsql-patches by date

Next:From: Bruce MomjianDate: 2005-10-24 17:27:15
Subject: Re: [PATCH] Symbol restriction and versioning
Previous:From: Andrew DunstanDate: 2005-10-24 15:22:00
Subject: Re: Another small pl/perl patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group