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

This commit is contained in:
Tom Lane 2001-02-09 01:05:42 +00:00
parent 8a2cdd77ad
commit b8cbb8c7e3
3 changed files with 4 additions and 28 deletions

View File

@ -1,22 +1,15 @@
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 createlang plpgsql DBNAME
If the PostgreSQL library directory is different from
/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.

View File

@ -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
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

View File

@ -1,13 +0,0 @@
--
-- 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';