Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-03-03 Thread Rumko
On Wednesday 2. of March 2011 20:18:08 Peter Eisentraut wrote: On ons, 2011-03-02 at 09:10 +0100, Rumko wrote: What about this patch ( http://www.rumko.net/0001-DragonFly-BSD-support-linked-nbsd.patch )? instead of linking to freebsd, it's linked to netbsd and It still compiles due to the

Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-03-02 Thread Rumko
On Tuesday 1. of March 2011 23:05:17 Rumko wrote: On Tuesday 1. of March 2011 22:44:16 Peter Eisentraut wrote: On tis, 2011-03-01 at 22:22 +0100, Rumko wrote: Well, wouldn't consider it ugly, but the patch (attached and available at

Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-03-02 Thread Peter Eisentraut
On ons, 2011-03-02 at 09:10 +0100, Rumko wrote: What about this patch ( http://www.rumko.net/0001-DragonFly-BSD-support-linked-nbsd.patch )? instead of linking to freebsd, it's linked to netbsd and It still compiles due to the two templates being similar enough. Looks good. Committed. --

Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-03-01 Thread Rumko
On Sunday 27. of February 2011 23:50:17 Peter Eisentraut wrote: On sön, 2011-02-27 at 21:19 +0100, Rumko wrote: The attached patch (also available at http://www.rumko.net/0001-DragonFly-BSD-support.patch ) applies cleanly to the master branch and can be cherry-picked to REL9_0_STABLE branch

Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-03-01 Thread Tom Lane
Rumko rum...@gmail.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

Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-03-01 Thread Rumko
On Tuesday 1. of March 2011 16:07:47 Tom Lane wrote: Rumko rum...@gmail.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

Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-03-01 Thread Peter Eisentraut
On tis, 2011-03-01 at 22:22 +0100, Rumko wrote: Well, wouldn't consider it ugly, but the patch (attached and available at http://www.rumko.net/0001-DragonFly-BSD-support-linked.patch ) is a lot shorter. Uses freebsd's template and defines the linker in Makefile.shlib. The piece in

Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-03-01 Thread Rumko
On Tuesday 1. of March 2011 22:44:16 Peter Eisentraut wrote: On tis, 2011-03-01 at 22:22 +0100, Rumko wrote: Well, wouldn't consider it ugly, but the patch (attached and available at http://www.rumko.net/0001-DragonFly-BSD-support-linked.patch ) is a lot shorter. Uses freebsd's template

[HACKERS] Porting PostgreSQL to DragonFly BSD

2011-02-27 Thread Rumko
From what I have checked, all work on making postgresql compile on new platforms should be posted to this list, so here it goes. The attached patch (also available at http://www.rumko.net/0001-DragonFly-BSD-support.patch ) applies cleanly to the master branch and can be cherry-picked to

Re: [HACKERS] Porting PostgreSQL to DragonFly BSD

2011-02-27 Thread Peter Eisentraut
On sön, 2011-02-27 at 21:19 +0100, Rumko wrote: The attached patch (also available at http://www.rumko.net/0001-DragonFly-BSD-support.patch ) applies cleanly to the master branch and can be cherry-picked to REL9_0_STABLE branch without conflicts. It seems to me that it would be easier to just