Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit863a620

Browse files
committed
As proposed, here is the current version of PL/pgSQL. The
test isn't that complete up to now, but I think it shows enough of the capabilities of the module. The Makefile assumes it is located in a directory under pgsql/src/pl. Since it includes Makefile.global and Makefile.port and doesn't use any own compiler/linker calls, it should build on most of our supported platforms (I only tested under Linux up to now). It requires flex and bison I think. Maybe we should ship prepared gram.c etc. like for the main parser too?Jan
1 parent212f7bd commit863a620

22 files changed

+9899
-0
lines changed

‎contrib/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ mSQL-interface -
5858
noupdate -
5959
trigger to prevent updates on single columns
6060

61+
plpgsql -
62+
Postgres procedural language
63+
by Jan Wieck <jwieck@debis.com>
64+
6165
pginterface -
6266
A crude C/4GL
6367
by Bruce Momjian <root@candle.pha.pa.us>

‎contrib/plpgsql/doc/plpgsql.txt

Lines changed: 448 additions & 0 deletions
Large diffs are not rendered by default.

‎contrib/plpgsql/src/INSTALL

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Installation of PL/pgSQL
2+
3+
4+
1)Type 'make' to build the shared plpgsql object.
5+
6+
2)Type 'make install' to install the shared object in
7+
the PostgreSQL library directory.
8+
9+
3)Declare the PL/pgSQL procedural language in your
10+
database by
11+
12+
psql dbname <mklang.sql
13+
14+
If the PostgreSQL library directory is different from
15+
/usr/local/pgsql/lib you must edit mklang.sql prior.
16+
17+
If you declare the language in the template1 database,
18+
any subsequently created database will have PL/pgSQL
19+
support installed automatically.
20+
21+
22+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp