Commit b8cbb8c7 authored by Tom Lane's avatar Tom Lane

Remove no-longer-needed mklang script; now superseded by createlang.

parent 8a2cdd77
Installation of PL/pgSQL Installation of PL/pgSQL
1) Type 'make' to build the shared plpgsql object. 1) Type 'make' to build the shared plpgsql object.
2) Type 'make install' to install the shared object in 2) Type 'make install' to install the shared object in
the PostgreSQL library directory. the PostgreSQL library directory.
3) Declare the PL/pgSQL procedural language in your 3) Declare the PL/pgSQL procedural language in your
database by database by running the createlang script:
psql dbname <mklang.sql
If the PostgreSQL library directory is different from createlang plpgsql DBNAME
/usr/local/pgsql/lib you must edit mklang.sql prior.
If you declare the language in the template1 database, If you declare the language in the template1 database,
any subsequently created database will have PL/pgSQL any subsequently created database will have PL/pgSQL
support installed automatically. support installed automatically.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# Makefile for the plpgsql shared object # Makefile for the plpgsql shared object
# #
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.9 2000/10/23 21:44:03 petere Exp $ # $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.10 2001/02/09 01:05:42 tgl Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -71,12 +71,8 @@ endif ...@@ -71,12 +71,8 @@ endif
distprep: $(srcdir)/pl_scan.c $(srcdir)/pl.tab.h $(srcdir)/pl_gram.c distprep: $(srcdir)/pl_scan.c $(srcdir)/pl.tab.h $(srcdir)/pl_gram.c
mklang.sql: mklang.sql.in
sed -e 's%__libdir__%$(libdir)%g' -e 's%__DLSUFFIX__%$(DLSUFFIX)%g' < $< > $@
clean distclean: clean-lib clean distclean: clean-lib
rm -f $(OBJS) mklang.sql rm -f $(OBJS)
@rm -f y.tab.c y.tab.h lex.yy.c @rm -f y.tab.c y.tab.h lex.yy.c
maintainer-clean: clean maintainer-clean: clean
......
--
-- PL/pgSQL language declaration
--
-- $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/mklang.sql.in,v 1.5 2000/06/20 16:40:10 petere Exp $
--
create function plpgsql_call_handler() returns opaque
as '__libdir__/plpgsql__DLSUFFIX__'
language 'C';
create trusted procedural language 'plpgsql'
handler plpgsql_call_handler
lancompiler 'PL/pgSQL';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment