Re: [PATCHES] Reduce dependancies of postmaster (without --as-needed)

2005-11-29 Thread Martijn van Oosterhout
On Mon, Nov 28, 2005 at 04:47:38PM -0600, Larry Rosenman wrote: > >Hmmm ... but given that, is it needed to mention libnsl in the link > >command at all, or can the linker pick it up implicitly? > > I'm not 100% sure if the linker does the right thing or not :( > > It would be a good thing to tes

Re: [PATCHES] Reduce dependancies of postmaster (without --as-needed)

2005-11-29 Thread Martijn van Oosterhout
On Tue, Nov 29, 2005 at 01:16:53AM -0500, Tom Lane wrote: > I dug a bit in the cvs history, and found that -lresolv was added > quite late, apparently in response to this: > > http://archives.postgresql.org/pgsql-hackers/2001-02/msg00030.php Marvellous. Another shared library doesn't wasn't linke

[PATCHES] A couple of proposed pgbench changes

2005-11-29 Thread Tom Lane
Hi Tatsuo, Attached is a proposed patch that deals with a couple of pgbench issues. The change at line 490 updates doCustom's local variable "commands" after selecting a new file (command sequence). I think that the existing coding will cause the thing to use the first command of the old sequenc