Re: Porting PostgreSQL to DragonFly BSD

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rumko <rumcic(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Porting PostgreSQL to DragonFly BSD
Date: 2011-03-01 15:07:47
Message-ID: 16186.1298992067@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rumko <rumcic(at)gmail(dot)com> writes:
> On Sunday 27. of February 2011 23:50:17 Peter Eisentraut wrote:
>> It seems to me that it would be easier to just map dragonfly to the
>> freebsd template.

> I didn't see a precedence for that kind of introduction of a new platform (all
> others seem to have their own templates), so thought it would've had less
> chance of being accepted.

When I looked at that patch, I actually couldn't see anything different
at all from freebsd. We aren't interested in maintaining 99% duplicate
code --- it seems much easier from a maintenance standpoint to introduce
an ifdef or two into the freebsd code, rather than deal with a large cut
and paste job. Please try it that way and see what you come up with.
(It's possible that it'll be so ugly that we agree your original patch
is better, but we need to see the results of the experiment.)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-03-01 15:11:38 Re: PG signal handler and non-reentrant malloc/free calls
Previous Message Tom Lane 2011-03-01 15:02:17 Re: Sync Rep v17