Re: Threaded PosgreSQL server - Mailing list pgsql-hackers

From Justin Clift
Subject Re: Threaded PosgreSQL server
Date
Msg-id 3C628FA4.734E75C5@postgresql.org
Whole thread Raw
In response to Re: Threaded PosgreSQL server  ("Marc G. Fournier" <scrappy@hub.org>)
List 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


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: JOINs ... how I hate them ...
Next
From: Tom Lane
Date:
Subject: Re: text array