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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-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

Attachment Content-Type Size
unknown_filename text/plain 4.1 KB

In response to

Browse pgsql-docs by date

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

Browse pgsql-patches by date

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