Re: Threaded PosgreSQL server

From: Justin Clift <justin(at)postgresql(dot)org>
To: Haroldo Stenger <hstenger(at)adinet(dot)com(dot)uy>
Cc: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Threaded PosgreSQL server
Date: 2002-02-07 14:31:00
Message-ID: 3C628FA4.734E75C5@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Haroldo Stenger wrote:
<snip>
>
> I agree with cross-polinization among open source projects. BTW, this practice
> should be encouraged, and not called "stealing", not even as a joke, as I've
> seen it called for example for the TCP/IP Linux stack code (99% sure this was
> the one module), which came from the *BSD projects, in its very first version.
> Also mentioning that BSD -> GPL was possible, but not the other way round; I
> don't mean to start a war or anything, just exposing facts.
>
> > The point is that nobody is even implying that this is a "for v7.3"
> > project ... there have been several projects that have been initiated over
> > the years that have straddled releases, and we have alot of very good
> > developers, and testers, that will make sure that any changes are "for the
> > good" ...
>
> Yes, I agree. If starting to think & code thread safe *now* proves *not* to be a
> waste of everybody's time, that's the path to follow. This very point is the one
> under technical examination, right?

So, with this thought in mind of "starting to think & code thread safe",
we should start putting together a set of reference guidlines,
especially drawing on the experience of people whom have good, solid
experience with threaded, multi-process, cross-platform coding. It
should take into account the people who are reading it, may not be as
experienced in this um... specialised area of coding too.

We've identified "global variables" needing to be done in a better and
more consistent way.

So, what else do coders need to do when "thinking and coding thread
safe", that we can make into a guidline for forthcoming PostgreSQL
coding?

:-)

Regards and best wishes,

Justin Clift

> Regards,
> Haroldo.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Turbo Fredriksson 2002-02-07 15:04:23 Re: PostgreSQL v7.2 Final Release
Previous Message Marc G. Fournier 2002-02-07 14:23:22 JOINs ... how I hate them ...