Re: [PATCHES] PL patches

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] PL patches
Дата
Msg-id 199810082345.TAA29937@candle.pha.pa.us
обсуждение исходный текст
Ответ на PL patches  (Brook Milligan <brook@trillium.NMSU.Edu>)
Список pgsql-hackers
Applied, and Makefile.in added.

> I have had a few problems with the PL stuff recently committed.  The
> following patches fix the problems (i.e., all regression tests pass)
> in what I hope to be a platform-independent fashion.  The accomplish
> the following:
>
> 1.  Allow configure to check for the existence of the tclConfig.sh
>     script needed to configure the tcl component of PL.  Configure
>     already checks other parts of the tcl installation, so it might
>     as well check for this script, too, so that paths need not be
>     hard-coded into mkMakefile.tcldefs.
>
>     A few extra files are created by configure from templates.
>
>     Configure is also cleaned up a bit at the end so the long list of
>     output files is easier to deal with.
>
> NOTE:  run autoconf.
>
> 2.  A new script mkMakefile.tcldefs.sh is created from the template
>     mkMakefile.tcldefs.sh.in so that the substitution for tclConfig.sh
>     can be inserted.  The script is simplified and renamed to reflect
>     the fact that it is a sh script.
>
> NOTE:  pl/tcl/mkMakefile.tcldefs should be removed from the tree.
>
> 3.  The Makefile executes /bin/sh on the new script rather than
>     directly executing the script (hence the name change to make it
>     more explicit).
>
> 4.  There are shared library problems with the plpgsql/src/Makefile.
>     The port-specific code was taken from the interfaces/tcl?/Makefile
>     so that shared libraries should work on all platforms.  This means
>     that that Makefile must be a template for configure.
>
> NOTE:  pl/plpgsql/src/Makefile should be removed from the tree.
>
> NOTE:  should we be including libtool in our distribution to simplify
> shared library (and other stuff) support?
>
> Cheers,
> Brook


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] PL patches
Следующее
От: Bruce Momjian
Дата:
Сообщение: more static/NOT_USED functions