Re: [DOCS] plperl doc update

2004-02-26 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes:
> Bruce Momjian wrote:
>> I have applied the following doc update for plperl, now that perl has
>> an --enable-shared configure option.

> Maybe this should be rephrased to say that only newer versions (exactly 
> which?) have that option.

And why did the description say "plperl" when the patch changed
plpython?  Is the patch even correct?

regards, tom lane

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


[DOCS] plpython doc update

2004-02-26 Thread Bruce Momjian
Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > I thought about that.  The docs were pointing to an FAQ number that
> > doesn't exit anymore, and there is text indicating sometimes the
> > shared compile isn't needed, so I didn't want to hard-code a version
> > number in case it wasn't significant aoyway.  And if I say newer, it
> > will be not-newer in a few years. :-)
> 
> If you say "x or newer" then that will be true forever unless they take 
> it back out.  We should also try to figure out a way for people to find 
> out how their python was compiled rather than making them compile a new 
> one.
> 
> I would prefer to put more effort into giving people a procedure to 
> follow during PostgreSQL installation to verify the correct setup of 
> their system, rather than giving them a bunch of options to "try" when 
> they have unidentified "problems".

I can confirm it was added in 2.3:

http://www.python.org/doc/current/whatsnew/node20.html

Docs updated:

  If you have problems, run Python 2.3 or later's configure using the
  --enable-shared flag.  On some operating systems you
  don't have to build a shared library, but you will have
  to convince the PostgreSQL build system of this.
  Consult the Makefile in the
  src/pl/plpython directory for details.


-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [DOCS] plperl doc update

2004-02-26 Thread Bruce Momjian
Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > I have applied the following doc update for plperl, now that perl has
> > an --enable-shared configure option.
> 
> Maybe this should be rephrased to say that only newer versions (exactly 
> which?) have that option.

I thought about that.  The docs were pointing to an FAQ number that
doesn't exit anymore, and there is text indicating sometimes the shared
compile isn't needed, so I didn't want to hard-code a version number in
case it wasn't significant aoyway.  And if I say newer, it will be
not-newer in a few years. :-)

I know Python 2.3 has the flag.  I think that is the first release that
has it, but I am not sure.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [DOCS] plperl doc update

2004-02-26 Thread Bruce Momjian

Sure.  Anyone want to research this?

---

Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > I thought about that.  The docs were pointing to an FAQ number that
> > doesn't exit anymore, and there is text indicating sometimes the
> > shared compile isn't needed, so I didn't want to hard-code a version
> > number in case it wasn't significant aoyway.  And if I say newer, it
> > will be not-newer in a few years. :-)
> 
> If you say "x or newer" then that will be true forever unless they take 
> it back out.  We should also try to figure out a way for people to find 
> out how their python was compiled rather than making them compile a new 
> one.
> 
> I would prefer to put more effort into giving people a procedure to 
> follow during PostgreSQL installation to verify the correct setup of 
> their system, rather than giving them a bunch of options to "try" when 
> they have unidentified "problems".
> 
> 
> ---(end of broadcast)---
> TIP 7: don't forget to increase your free space map settings
> 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [DOCS] plperl doc update

2004-02-26 Thread Bruce Momjian
Tom Lane wrote:
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
> > Bruce Momjian wrote:
> >> I have applied the following doc update for plperl, now that perl has
> >> an --enable-shared configure option.
> 
> > Maybe this should be rephrased to say that only newer versions (exactly 
> > which?) have that option.
> 
> And why did the description say "plperl" when the patch changed
> plpython?  Is the patch even correct?

Sorry, plpython was the patch, and the commit has the right text.  I am
typing via satelite modem, so my typing is strained.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [DOCS] plperl doc update

2004-02-26 Thread Peter Eisentraut
Bruce Momjian wrote:
> I have applied the following doc update for plperl, now that perl has
> an --enable-shared configure option.

Maybe this should be rephrased to say that only newer versions (exactly 
which?) have that option.


---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


Re: [DOCS] plperl doc update

2004-02-26 Thread Peter Eisentraut
Bruce Momjian wrote:
> I thought about that.  The docs were pointing to an FAQ number that
> doesn't exit anymore, and there is text indicating sometimes the
> shared compile isn't needed, so I didn't want to hard-code a version
> number in case it wasn't significant aoyway.  And if I say newer, it
> will be not-newer in a few years. :-)

If you say "x or newer" then that will be true forever unless they take 
it back out.  We should also try to figure out a way for people to find 
out how their python was compiled rather than making them compile a new 
one.

I would prefer to put more effort into giving people a procedure to 
follow during PostgreSQL installation to verify the correct setup of 
their system, rather than giving them a bunch of options to "try" when 
they have unidentified "problems".


---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings