File tree Expand file tree Collapse file tree 3 files changed +4
-28
lines changed Expand file tree Collapse file tree 3 files changed +4
-28
lines changed Original file line number Diff line number Diff line change 1
1
Installation of PL/pgSQL
2
2
3
-
4
3
1) Type 'make' to build the shared plpgsql object.
5
4
6
5
2) Type 'make install' to install the shared object in
7
6
the PostgreSQL library directory.
8
7
9
8
3) Declare the PL/pgSQL procedural language in your
10
- database by
11
-
12
- psql dbname <mklang.sql
9
+ database by running the createlang script:
13
10
14
- If the PostgreSQL library directory is different from
15
- /usr/local/pgsql/lib you must edit mklang.sql prior.
11
+ createlang plpgsql DBNAME
16
12
17
13
If you declare the language in the template1 database,
18
14
any subsequently created database will have PL/pgSQL
19
15
support installed automatically.
20
-
21
-
22
-
Original file line number Diff line number Diff line change 2
2
#
3
3
# Makefile for the plpgsql shared object
4
4
#
5
- # $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.9 2000/10/23 21:44:03 petere Exp $
5
+ # $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.10 2001/02/09 01:05:42 tgl Exp $
6
6
#
7
7
# -------------------------------------------------------------------------
8
8
71
71
72
72
distprep : $(srcdir ) /pl_scan.c $(srcdir ) /pl.tab.h $(srcdir ) /pl_gram.c
73
73
74
- mklang.sql : mklang.sql.in
75
- sed -e ' s%__libdir__%$(libdir)%g' -e ' s%__DLSUFFIX__%$(DLSUFFIX)%g' < $< > $@
76
-
77
-
78
74
clean distclean : clean-lib
79
- rm -f $(OBJS ) mklang.sql
75
+ rm -f $(OBJS )
80
76
@rm -f y.tab.c y.tab.h lex.yy.c
81
77
82
78
maintainer-clean : clean
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments