Re: [HACKERS] Suggestion: Which Binary?

2006-04-21 Thread Bruce Momjian
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches It will be applied as soon as one of the PostgreSQL committers reviews and approves it. ---

Re: [HACKERS] Suggestion: Which Binary?

2006-04-21 Thread David Wheeler
On Apr 21, 2006, at 13:54, Bruce Momjian wrote: Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches It will be applied as soon as one of the PostgreSQL committers reviews and approves it. Cool, thanks Bruce. Best,

Re: [HACKERS] Suggestion: Which Binary?

2006-04-20 Thread David Wheeler
On Apr 3, 2006, at 14:37, Tom Lane wrote: I would suggest handling this strictly as an addition to our installation.sgml docs. Finally got 'round to this. Patch attached. There are quite a few environment variables in the list that Peter sent to me that I know nothing about. These I've

Re: [HACKERS] Suggestion: Which Binary?

2006-04-09 Thread Joshua D. Drake
Jim C. Nasby wrote: On Fri, Mar 31, 2006 at 07:01:18PM -0500, Tom Lane wrote: David Wheeler [EMAIL PROTECTED] writes: Yes, but even the environment variables get me what I want. I therefore respectfully submit the attached patch to document them in the INSTALL file. It seems rather

Re: [HACKERS] Suggestion: Which Binary?

2006-04-04 Thread Andrew Dunstan
Robert Treat wrote: The problem is that PostgreSQL is moving out of the realm of hard-core geeks only and more into the mainstream. I'd bet a number of our users have very little idea how autoconf and it's progeny work. It's probably not unlikely that those folks would be able to figure out

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread David Wheeler
On Apr 1, 2006, at 16:37, Tom Lane wrote: Just to clarify my point: what'd make sense to me is to describe this generic autoconf behavior, and maybe include a small table listing some of the more-likely-to-be-useful variables. (configure --help already does that, on a very small scale.)

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread Peter Eisentraut
David Wheeler wrote: But I'm not sure what other variables are supported. I'm not sure if this list is complete, but it's a good approximation: AWK CC CFLAGS COLLATEINDEX CPP CPPFLAGS DOCBOOKSTYLE JADE LDFLAGS LDFLAGS_SL LORDER MSGFMT MSGMERGE NSGMLS PERL PTHREAD_CC PYTHON RANLIB SGMLSPL STRIP

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread David Wheeler
On Apr 3, 2006, at 13:08, Peter Eisentraut wrote: I'm not sure if this list is complete, but it's a good approximation: Thanks. How's this, then? Best, David --- configure 06 Mar 2006 09:41:42 -0800 1.485 +++ configure 03 Apr 2006 13:31:10 -0700 @@ -897,16 +897,36 @@

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread Alvaro Herrera
David Wheeler wrote: On Apr 3, 2006, at 13:08, Peter Eisentraut wrote: I'm not sure if this list is complete, but it's a good approximation: Thanks. How's this, then? Too verbose :-( How about putting the most important in configure, and the rest in a text file? Configure can then say

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread Peter Eisentraut
David Wheeler wrote: On Apr 3, 2006, at 13:08, Peter Eisentraut wrote: I'm not sure if this list is complete, but it's a good approximation: Thanks. How's this, then? configure is autogenerated. You can't patch in there. -- Peter Eisentraut http://developer.postgresql.org/~petere/

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread David Wheeler
On Apr 3, 2006, at 13:37, Alvaro Herrera wrote: Too verbose :-( How about putting the most important in configure, and the rest in a text file? Configure can then say Some of them are here, the rest can be found in file such-and-such. Yeah, I'll create a table for INSTALL. Best, David

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread David Wheeler
On Apr 3, 2006, at 13:44, Peter Eisentraut wrote: configure is autogenerated. You can't patch in there. Oh. Duh. I'll grep for it. D ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ?

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread David Wheeler
On Apr 3, 2006, at 13:49, David Wheeler wrote: configure is autogenerated. You can't patch in there. Oh. Duh. I'll grep for it. Hrm. Is there a file somewhere from which the environment variable section is generated? Or is it just created by autoconf? Thanks, David

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread Tom Lane
David Wheeler [EMAIL PROTECTED] writes: Hrm. Is there a file somewhere from which the environment variable section is generated? Or is it just created by autoconf? I believe that most of the configure --help text is autogenerated by autoconf, and you're probably not going to have much luck

Re: [HACKERS] Suggestion: Which Binary?

2006-04-03 Thread Peter Eisentraut
David Wheeler wrote: Hrm. Is there a file somewhere from which the environment variable section is generated? Or is it just created by autoconf? Compare with AC_ARG_VAR(DOCBOOKSTYLE, [location of DocBook stylesheets])dnl -- Peter Eisentraut http://developer.postgresql.org/~petere/

Re: [HACKERS] Suggestion: Which Binary?

2006-04-02 Thread Robert Treat
On Saturday 01 April 2006 10:47, Andrew Dunstan wrote: Jim C. Nasby wrote: On Fri, Mar 31, 2006 at 07:01:18PM -0500, Tom Lane wrote: David Wheeler [EMAIL PROTECTED] writes: Yes, but even the environment variables get me what I want. I therefore respectfully submit the attached patch to

Re: [HACKERS] Suggestion: Which Binary?

2006-04-02 Thread Tom Lane
Robert Treat [EMAIL PROTECTED] writes: ISTM that by any measure of the general population, David Wheeler is a hard-core geek. :-) Actually by most measures of the programming/oss community he is a hard core geek. But he still got tripped up by this. A lot of people never get passed

Re: [HACKERS] Suggestion: Which Binary?

2006-04-02 Thread David Wheeler
On Apr 2, 2006, at 17:47, Robert Treat wrote: ISTM that by any measure of the general population, David Wheeler is a hard-core geek. :-) Actually by most measures of the programming/ oss community he is a hard core geek. But he still got tripped up by this. A lot of people never get

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread Peter Eisentraut
David Wheeler wrote: Yes, but even the environment variables get me what I want. I therefore respectfully submit the attached patch to document them in the INSTALL file. Next time you submit a patch, please consider reading it before sending it out. -- Peter Eisentraut

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread Jim C. Nasby
On Fri, Mar 31, 2006 at 07:01:18PM -0500, Tom Lane wrote: David Wheeler [EMAIL PROTECTED] writes: Yes, but even the environment variables get me what I want. I therefore respectfully submit the attached patch to document them in the INSTALL file. It seems rather pointless to document

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread Peter Eisentraut
Jim C. Nasby wrote: The problem is that PostgreSQL is moving out of the realm of hard-core geeks only and more into the mainstream. Someone who has a non-default Perl installation is hardly mainstream. -- Peter Eisentraut http://developer.postgresql.org/~petere/

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread Andrew Dunstan
Jim C. Nasby wrote: On Fri, Mar 31, 2006 at 07:01:18PM -0500, Tom Lane wrote: David Wheeler [EMAIL PROTECTED] writes: Yes, but even the environment variables get me what I want. I therefore respectfully submit the attached patch to document them in the INSTALL file. It

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread David Wheeler
On Mar 31, 2006, at 20:02, Tom Lane wrote: You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix This isn't super helpful, of

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread David Wheeler
On Apr 1, 2006, at 06:58, Peter Eisentraut wrote: Next time you submit a patch, please consider reading it before sending it out. I just read the patch, and it looks fine to me. No typos that I noticed. I might have screwed up the SGML stuff, but I know even less about SGML than I do

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread David Wheeler
On Apr 1, 2006, at 15:39, David Wheeler wrote: So, pray tell, what have I screwed up? I would of course be happy to submit a corrected patch. Sorry, I'm an idiot. New version attached. Best, David Index: doc/src/sgml/installation.sgml

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread Peter Eisentraut
David Wheeler wrote: On Apr 1, 2006, at 15:39, David Wheeler wrote: So, pray tell, what have I screwed up? I would of course be happy to submit a corrected patch. Sorry, I'm an idiot. New version attached. Well, you got one of them, but I still have my doubts about /usr/bin/per5.8.6. --

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread David Wheeler
On Apr 1, 2006, at 15:49, Peter Eisentraut wrote: Well, you got one of them, but I still have my doubts about /usr/bin/per5.8.6. LOL! God, what an oaf! David Index: doc/src/sgml/installation.sgml === RCS file:

Re: [HACKERS] Suggestion: Which Binary?

2006-04-01 Thread Tom Lane
David Wheeler [EMAIL PROTECTED] writes: Right, but me, while I compile lots of stuff, I don't understand configure or autconf at all. So I was completely unaware of this feature. I'm very pleased to know it now, of course. But I don't see how it could be any harm to add notes to the

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread Seneca Cunningham
David Wheeler wrote: But that's a PITA. I'd much rather have been able to tell configure *which* perl to use: ./configure --with-perl=/usr/bin/perl5.8.6 Would it be possible to add support for an optional argument to the PL/* options (--with-perl,--with-python, --with-tcl) so that we can

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread David Wheeler
On Mar 31, 2006, at 12:05, Seneca Cunningham wrote: Like passing PERL=/usr/bin/perl5.8.6 to configure? Is that currently supported? Because, if so, it's documented AFAICT. Best, David ---(end of broadcast)--- TIP 5: don't forget to increase

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread Josh Berkus
People: ./configure --with-perl=/usr/bin/perl5.8.6 In support of David's suggestion, I'll point out that most other OSS software configuration scripts (Apache, PHP, etc.) I deal with supports the above syntax. -- --Josh Josh Berkus Aglio Database Solutions San Francisco

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread David Wheeler
On Mar 31, 2006, at 12:40, Josh Berkus wrote: In support of David's suggestion, I'll point out that most other OSS software configuration scripts (Apache, PHP, etc.) I deal with supports the above syntax. Yes, but even the environment variables get me what I want. I therefore

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread Tom Lane
David Wheeler [EMAIL PROTECTED] writes: But that's a PITA. I'd much rather have been able to tell configure *which* perl to use: ./configure --with-perl=/usr/bin/perl5.8.6 The more usual way to handle this sort of thing is to put each version of perl in a different directory, and then

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread Tom Lane
David Wheeler [EMAIL PROTECTED] writes: Yes, but even the environment variables get me what I want. I therefore respectfully submit the attached patch to document them in the INSTALL file. It seems rather pointless to document two instances of what is in fact a generic autoconf-script

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread David Wheeler
On Mar 31, 2006, at 15:52, Tom Lane wrote: The more usual way to handle this sort of thing is to put each version of perl in a different directory, and then you can alter PATH while running configure to pick which one you want. I've got several versions of perl on this machine that I select

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread David Wheeler
On Mar 31, 2006, at 16:01, Tom Lane wrote: It seems rather pointless to document two instances of what is in fact a generic autoconf-script behavior ... I'm sorry to be such a moron about this, but what exactly is that behavior? That you can specify an environment variable for whatever *

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread David Fetter
On Fri, Mar 31, 2006 at 06:52:51PM -0500, Tom Lane wrote: David Wheeler [EMAIL PROTECTED] writes: But that's a PITA. I'd much rather have been able to tell configure *which* perl to use: ./configure --with-perl=/usr/bin/perl5.8.6 The more usual way to handle this sort of thing is

Re: [HACKERS] Suggestion: Which Binary?

2006-03-31 Thread Tom Lane
David Wheeler [EMAIL PROTECTED] writes: On Mar 31, 2006, at 16:01, Tom Lane wrote: It seems rather pointless to document two instances of what is in fact a generic autoconf-script behavior ... I'm sorry to be such a moron about this, but what exactly is that behavior? That you can specify