PostgreSQL 6.4 patches - portability related.
The SQL script that installs the PL/pgSQL language has the location of the
postgres library directory hard coded. This patch corrects the problem by
having configure generate the SQL script.
Affected Files (relative to the PGSQL base directory):
src/configure, src/configure.in
Deleted Files (relative to the PGSQL base directory):
src/pl/plpgsql/src/mklang.sql
New Files (relative to the PGSQL base directory):
src/pl/plgsql/src/mklang.sql.in
Attachments:
uw7-2.patchapplication/x-patch; name=uw7-2.patchDownload
*** src/pl/plpgsql/src/mklang.sql.in.orig Sat Oct 10 23:00:31 1998
--- src/pl/plpgsql/src/mklang.sql.in Sat Oct 10 23:00:06 1998
***************
*** 0 ****
--- 1,14 ----
+ --
+ -- PL/pgSQL language declaration
+ --
+ -- $Header: /usr/local/cvsroot/pgsql/src/pl/plpgsql/src/mklang.sql,v 1.1 1998/08/24 19:14:48 momjian Exp $
+ --
+
+ create function plpgsql_call_handler() returns opaque
+ as '@libdir@/plpgsql.so'
+ language 'C';
+
+ create trusted procedural language 'plpgsql'
+ handler plpgsql_call_handler
+ lancompiler 'PL/pgSQL';
+
*** src/configure.orig Sat Oct 10 23:04:42 1998
--- src/configure Sat Oct 10 23:03:53 1998
***************
*** 6463,6468 ****
--- 6463,6469 ----
interfaces/odbc/GNUmakefile
interfaces/odbc/Makefile.global
pl/plpgsql/src/Makefile
+ pl/plpgsql/src/mklang.sql
pl/tcl/mkMakefile.tcldefs.sh
include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
***************
*** 6621,6626 ****
--- 6622,6628 ----
interfaces/odbc/GNUmakefile
interfaces/odbc/Makefile.global
pl/plpgsql/src/Makefile
+ pl/plpgsql/src/mklang.sql
pl/tcl/mkMakefile.tcldefs.sh
"}
EOF
*** src/configure.in.orig Sat Oct 10 23:05:50 1998
--- src/configure.in Sat Oct 10 23:02:09 1998
***************
*** 960,964 ****
--- 960,965 ----
interfaces/odbc/GNUmakefile
interfaces/odbc/Makefile.global
pl/plpgsql/src/Makefile
+ pl/plpgsql/src/mklang.sql
pl/tcl/mkMakefile.tcldefs.sh
)
Applied
The SQL script that installs the PL/pgSQL language has the location of the
postgres library directory hard coded. This patch corrects the problem by
having configure generate the SQL script.Affected Files (relative to the PGSQL base directory):
src/configure, src/configure.in
Deleted Files (relative to the PGSQL base directory):
src/pl/plpgsql/src/mklang.sql
New Files (relative to the PGSQL base directory):
src/pl/plgsql/src/mklang.sql.in
Content-Description: uw7-2.patch
[Attachment, skipping...]
____ | Billy G. Allie | Domain....: Bill.Allie@mug.org
| /| | 7436 Hartwell | Compuserve: 76337,2061
|-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie@email.msn.com
|/ |LLIE | (313) 582-1540 |
--
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