Re: [PATCHES] Avahi support for Postgresql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mathias Hasselmann <mathias(at)openismus(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Murray Cumming <murrayc(at)openismus(dot)com>
Subject: Re: [PATCHES] Avahi support for Postgresql
Date: 2008-02-25 20:08:29
Message-ID: 2073.1203970109@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Mathias Hasselmann <mathias(at)openismus(dot)com> writes:
> Just to be sure we talk about the same topic: I assume the prohibition
> you talk about is something like "no use of threads in Postmaster"?

Correct.

> If that's the case: Are there some docs, mails, ... explaining the
> rationale behind this restriction? I could imagine your do not want
> random locking in the postmaster code?

Portability, irreproducible misbehavior, etc. Some trawling in the
pgsql-hackers archives should turn up previous discussions. For a
recent demonstration that wanting to avoid threads is not just idle
paranoia on our part, see
http://archives.postgresql.org/pgsql-patches/2007-09/msg00194.php

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2008-02-25 20:17:10 Re: 8.3 / 8.2.6 restore comparison
Previous Message Joshua D. Drake 2008-02-25 20:05:24 Re: 8.3 / 8.2.6 restore comparison

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2008-02-25 21:16:02 Shlib exports file refactoring
Previous Message Mathias Hasselmann 2008-02-25 19:40:50 Re: [PATCHES] Avahi support for Postgresql