From: | Steve Singer <ssinger_pg(at)sympatico(dot)ca> |
---|---|
To: | Marko Kreen <markokr(at)gmail(dot)com> |
Cc: | josh(at)agliodbs(dot)com, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [rfc,patch] PL/Proxy in core |
Date: | 2008-05-17 19:11:21 |
Message-ID: | BAYC1-PASMTP046F29E3959C78E3963C7FACCB0@CEZ.ICE |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, 15 May 2008, Marko Kreen wrote:
> On 5/15/08, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>> Has PL/proxy been tested on other OSes? FreeBSD/Solaris/Windows?
>
> It definitely works on Linux and MacOS. I've seen ports for *BSD.
> I think any unix-like OS-es should work fine.
I've compiled it with a minor Makefile modification on Solaris and it
seems to work (it passes all the unit tests but the one involving
random; we might want to rethink that test so 'passes' on platforms with
different implementations of random()). However, I haven't deployed it into
a production environment.
Somewhat unrelated, I can see use-cases for replacing the call to random()
with something that allows user defined polices for RUN ON ANY.
>
> In fact, only syscalls it does on its own are gettimeofday() and poll()
> [or select()], otherwise it calls either core or libpq functions.
> So I see no reason why it shouldnt already work on Windows.
>
> The biggest portability problem thus far has been scanner.l, which at
> the beginning was written for flex 2.5.33+, but 2.5.4 is still pretty
> widespread. But this I fixed in 2.0.3.
>
> Hmm.. Now that I think about it, in my effort to remove malloc() calls
> in both scanner and parser I told bison to use alloca(). Is it portability
> concern? Easy to fix, just need to be careful not to create memleaks.
>
> --
> marko
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2008-05-17 19:13:24 | Re: [rfc,patch] PL/Proxy in core |
Previous Message | Jeremy Drake | 2008-05-17 19:01:06 | Re: What in the world is happening on spoonbill? |