mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Attached patch for unconditional enabling of pltcl-unknown support.
Enabling this feature adds very light overhead of 1 select from pg_class on first using of pl/tcl in backend if unknown suppport is really unused. But pl/tcl with this support has very improved functionality. Patch includes changes to documentation.
This commit is contained in:
16
configure.in
16
configure.in
@ -382,22 +382,6 @@ PGAC_ARG_REQ(with, tclconfig, [ --with-tclconfig=DIR tclConfig.sh and tkConf
|
||||
|
||||
PGAC_ARG_REQ(with, tkconfig, [ --with-tkconfig=DIR tkConfig.sh is in DIR])
|
||||
|
||||
|
||||
#
|
||||
# If Tcl is enabled (above) then check for pltcl_unknown_support
|
||||
#
|
||||
AC_MSG_CHECKING([whether to build with PL/Tcl unknown support])
|
||||
if test "$with_tcl" = yes; then
|
||||
PGAC_ARG_BOOL(enable, pltcl-unknown, no,
|
||||
[ --enable-pltcl-unknown build PL/Tcl unknown support (if Tcl is enabled)],
|
||||
[AC_DEFINE([ENABLE_PLTCL_UNKNOWN])])
|
||||
else
|
||||
enable_pltcl_unknown=no
|
||||
fi
|
||||
AC_MSG_RESULT([$enable_pltcl_unknown])
|
||||
AC_SUBST([enable_pltcl_unknown])
|
||||
|
||||
|
||||
#
|
||||
# Optionally build Perl modules (Pg.pm and PL/Perl)
|
||||
#
|
||||
|
Reference in New Issue
Block a user